home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 December / macformat-044.iso / Shareware Central / TimeCache Demo / TimeCache™ 1.61 Demo < prev   
MacBinary  |  1996-08-21  |  301.6 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Apr 12 17:55:04 1993, modified Wed Aug 21 13:31:42 1996, creator HyperCard, type HyperCard stack, 146496 bytes "TimeCache� 1.61 Demo" , at 0x23cc0 162141 bytes resource default (weak)
99% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
50% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 54 69 6d 65 43 61 | 63 68 65 aa 20 31 2e 36 |..TimeCa|che. 1.6|
|00000010| 31 20 44 65 6d 6f 00 00 | 00 00 00 00 00 00 00 00 |1 Demo..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 3c 40 00 | 02 79 5d a7 ef 95 b8 ae |.....<@.|.y].....|
|00000060| 40 f8 7e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |@.~.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cf 3b 00 00 |........|.....;..|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 02 3c 40 | 00 00 70 00 00 00 00 00 |......<@|..p.....|
|000000a0| 00 00 00 00 00 00 00 05 | 00 00 0a b8 00 00 00 05 |........|........|
|000000b0| 00 00 0b 70 00 00 1f b2 | 00 00 00 00 00 00 00 00 |...p....|........|
|000000c0| 00 00 10 45 d0 33 db 46 | 00 05 00 00 1c 00 00 00 |...E.3.F|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 35 80 00 | 02 35 80 00 02 35 80 00 |.....5..|.5...5..|
|000000f0| 01 7e ff 1d 00 00 00 00 | 00 2c 00 10 01 82 02 10 |.~......|.,......|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d a9 00 00 0c d1 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 55 70 64 61 74 | 65 64 20 37 2f 38 2f 39 |-- Updat|ed 7/8/9|
|00000690| 36 0d 0d 2d 2d 20 20 54 | 49 4d 45 43 41 43 48 45 |6..-- T|IMECACHE|
|000006a0| aa 20 31 2e 36 20 44 45 | 4d 4f 0d 2d 2d 20 20 43 |. 1.6 DE|MO.-- C|
|000006b0| 6f 70 79 72 69 67 68 74 | 20 31 39 39 35 2c 20 31 |opyright| 1995, 1|
|000006c0| 39 39 36 20 54 68 65 20 | 50 61 6e 64 61 57 61 72 |996 The |PandaWar|
|000006d0| 65 a8 20 43 6f 6d 70 61 | 6e 79 0d 2d 2d 20 20 41 |e. Compa|ny.-- A|
|000006e0| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|000006f0| 65 64 0d 0d 6f 6e 20 62 | 75 69 6c 64 53 75 6d 52 |ed..on b|uildSumR|
|00000700| 65 70 6f 72 74 0d 67 65 | 74 20 67 65 74 52 44 61 |eport.ge|t getRDa|
|00000710| 74 65 73 28 22 43 72 65 | 61 74 65 20 73 75 6d 6d |tes("Cre|ate summ|
|00000720| 61 72 79 20 66 6f 72 22 | 29 0d 69 66 20 6c 69 6e |ary for"|).if lin|
|00000730| 65 20 31 20 6f 66 20 69 | 74 20 3d 20 22 22 20 6f |e 1 of i|t = "" o|
|00000740| 72 20 6c 69 6e 65 20 32 | 20 6f 66 20 69 74 20 3d |r line 2| of it =|
|00000750| 20 22 22 20 74 68 65 6e | 20 65 78 69 74 20 62 75 | "" then| exit bu|
|00000760| 69 6c 64 53 75 6d 52 65 | 70 6f 72 74 0d 70 75 74 |ildSumRe|port.put|
|00000770| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 69 6e | line 1 |of it in|
|00000780| 74 6f 20 73 74 61 72 74 | 44 61 74 65 0d 70 75 74 |to start|Date.put|
|00000790| 20 6c 69 6e 65 20 32 20 | 6f 66 20 69 74 20 69 6e | line 2 |of it in|
|000007a0| 74 6f 20 65 6e 64 44 61 | 74 65 0d 70 75 74 20 66 |to endDa|te.put f|
|000007b0| 6c 64 20 69 64 20 33 20 | 69 6e 74 6f 20 61 63 74 |ld id 3 |into act|
|000007c0| 46 69 65 6c 64 0d 70 75 | 74 20 66 6c 64 20 69 64 |Field.pu|t fld id|
|000007d0| 20 36 20 69 6e 74 6f 20 | 68 6f 75 72 46 69 65 6c | 6 into |hourFiel|
|000007e0| 64 0d 70 75 74 20 66 6c | 64 20 69 64 20 35 20 69 |d.put fl|d id 5 i|
|000007f0| 6e 74 6f 20 63 68 61 72 | 67 65 46 69 65 6c 64 0d |nto char|geField.|
|00000800| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 6f 6e 65 43 |put "" i|nto oneC|
|00000810| 68 61 72 67 65 0d 70 75 | 74 20 22 22 20 69 6e 74 |harge.pu|t "" int|
|00000820| 6f 20 63 68 61 72 67 65 | 54 6f 74 61 6c 0d 70 75 |o charge|Total.pu|
|00000830| 74 20 22 22 20 69 6e 74 | 6f 20 74 68 65 41 63 74 |t "" int|o theAct|
|00000840| 73 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |s.repeat| with x |
|00000850| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00000860| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 66 6c |r of lin|es in fl|
|00000870| 64 20 69 64 20 32 0d 67 | 65 74 20 73 68 6f 72 74 |d id 2.g|et short|
|00000880| 54 6f 53 65 63 73 28 6c | 69 6e 65 20 78 20 6f 66 |ToSecs(l|ine x of|
|00000890| 20 66 6c 64 20 69 64 20 | 32 29 0d 69 66 20 20 69 | fld id |2).if i|
|000008a0| 74 20 3c 20 73 74 61 72 | 74 44 61 74 65 20 6f 72 |t < star|tDate or|
|000008b0| 20 69 74 20 3e 20 65 6e | 64 44 61 74 65 20 74 68 | it > en|dDate th|
|000008c0| 65 6e 20 6e 65 78 74 20 | 72 65 70 65 61 74 0d 70 |en next |repeat.p|
|000008d0| 75 74 20 6c 69 6e 65 20 | 78 20 6f 66 20 61 63 74 |ut line |x of act|
|000008e0| 46 69 65 6c 64 20 26 20 | 72 65 74 75 72 6e 20 61 |Field & |return a|
|000008f0| 66 74 65 72 20 74 68 65 | 41 63 74 73 0d 70 75 74 |fter the|Acts.put|
|00000900| 20 6c 69 6e 65 20 78 20 | 6f 66 20 68 6f 75 72 46 | line x |of hourF|
|00000910| 69 65 6c 64 20 26 20 72 | 65 74 75 72 6e 20 61 66 |ield & r|eturn af|
|00000920| 74 65 72 20 74 68 65 48 | 6f 75 72 73 0d 70 75 74 |ter theH|ours.put|
|00000930| 20 6c 69 6e 65 20 78 20 | 6f 66 20 63 68 61 72 67 | line x |of charg|
|00000940| 65 46 69 65 6c 64 20 26 | 20 72 65 74 75 72 6e 20 |eField &| return |
|00000950| 61 66 74 65 72 20 74 68 | 65 43 68 61 72 67 65 73 |after th|eCharges|
|00000960| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 69 66 20 74 |.end rep|eat.if t|
|00000970| 68 65 41 63 74 73 20 3d | 20 22 22 20 74 68 65 6e |heActs =| "" then|
|00000980| 0d 67 65 74 20 64 6f 44 | 6c 6f 67 28 32 39 35 31 |.get doD|log(2951|
|00000990| 2c 22 54 68 65 72 65 d5 | 73 20 6e 6f 74 68 69 6e |,"There.|s nothin|
|000009a0| 67 20 74 6f 20 73 75 6d | 6d 61 72 69 7a 65 21 22 |g to sum|marize!"|
|000009b0| 2c 22 22 2c 22 22 2c 22 | 22 2c 22 22 2c 22 22 29 |,"","","|","","")|
|000009c0| 0d 65 78 69 74 20 62 75 | 69 6c 64 53 75 6d 52 65 |.exit bu|ildSumRe|
|000009d0| 70 6f 72 74 0d 65 6e 64 | 20 69 66 0d 73 65 74 20 |port.end| if.set |
|000009e0| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|000009f0| 67 65 74 20 73 75 6d 52 | 65 70 6f 72 74 28 74 68 |get sumR|eport(th|
|00000a00| 65 41 63 74 73 2c 74 68 | 65 48 6f 75 72 73 2c 74 |eActs,th|eHours,t|
|00000a10| 68 65 43 68 61 72 67 65 | 73 29 0d 70 75 74 20 69 |heCharge|s).put i|
|00000a20| 74 65 6d 20 31 20 6f 66 | 20 69 74 20 69 6e 74 6f |tem 1 of| it into|
|00000a30| 20 61 63 74 46 69 65 6c | 64 0d 70 75 74 20 69 74 | actFiel|d.put it|
|00000a40| 65 6d 20 32 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 2 of |it into |
|00000a50| 68 6f 75 72 46 69 65 6c | 64 0d 70 75 74 20 69 74 |hourFiel|d.put it|
|00000a60| 65 6d 20 33 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 3 of |it into |
|00000a70| 63 68 61 72 67 65 46 69 | 65 6c 64 0d 70 75 74 20 |chargeFi|eld.put |
|00000a80| 63 75 72 72 65 6e 63 79 | 46 6f 72 6d 61 74 28 63 |currency|Format(c|
|00000a90| 68 61 72 67 65 46 6f 72 | 6d 61 74 28 73 75 6d 49 |hargeFor|mat(sumI|
|00000aa0| 74 28 63 68 61 72 67 65 | 46 69 65 6c 64 29 29 29 |t(charge|Field)))|
|00000ab0| 20 69 6e 74 6f 20 63 68 | 61 72 67 65 54 6f 74 61 | into ch|argeTota|
|00000ac0| 6c 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |l.repeat| with x |
|00000ad0| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00000ae0| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 63 68 |r of lin|es in ch|
|00000af0| 61 72 67 65 46 69 65 6c | 64 0d 70 75 74 20 63 68 |argeFiel|d.put ch|
|00000b00| 61 72 67 65 46 6f 72 6d | 61 74 28 6c 69 6e 65 20 |argeForm|at(line |
|00000b10| 78 20 6f 66 20 63 68 61 | 72 67 65 46 69 65 6c 64 |x of cha|rgeField|
|00000b20| 29 20 69 6e 74 6f 20 6c | 69 6e 65 20 78 20 6f 66 |) into l|ine x of|
|00000b30| 20 63 68 61 72 67 65 46 | 69 65 6c 64 0d 65 6e 64 | chargeF|ield.end|
|00000b40| 20 72 65 70 65 61 74 0d | 70 75 74 20 6e 75 6d 46 | repeat.|put numF|
|00000b50| 6f 72 6d 61 74 28 73 75 | 6d 49 74 28 74 68 65 48 |ormat(su|mIt(theH|
|00000b60| 6f 75 72 73 29 2c 32 29 | 20 69 6e 74 6f 20 68 6f |ours),2)| into ho|
|00000b70| 75 72 54 6f 74 61 6c 0d | 70 75 74 20 66 6c 64 20 |urTotal.|put fld |
|00000b80| 69 64 20 34 34 20 69 6e | 74 6f 20 70 72 6f 6a 4e |id 44 in|to projN|
|00000b90| 61 6d 65 0d 70 75 74 20 | 66 6c 64 20 69 64 20 38 |ame.put |fld id 8|
|00000ba0| 20 69 6e 74 6f 20 63 6c | 69 65 6e 74 4e 61 6d 65 | into cl|ientName|
|00000bb0| 0d 70 75 74 20 66 6c 64 | 20 69 64 20 39 20 69 6e |.put fld| id 9 in|
|00000bc0| 74 6f 20 6a 6f 62 4e 75 | 6d 0d 70 75 74 20 6c 69 |to jobNu|m.put li|
|00000bd0| 6e 65 20 31 20 6f 66 20 | 66 6c 64 20 69 64 20 31 |ne 1 of |fld id 1|
|00000be0| 30 20 69 6e 74 6f 20 63 | 75 73 74 46 6c 64 0d 70 |0 into c|ustFld.p|
|00000bf0| 75 73 68 20 63 64 0d 6c | 6f 63 6b 20 73 63 72 65 |ush cd.l|ock scre|
|00000c00| 65 6e 0d 67 6f 20 62 67 | 20 69 64 20 36 31 38 32 |en.go bg| id 6182|
|00000c10| 0d 70 75 74 20 61 63 74 | 46 69 65 6c 64 20 69 6e |.put act|Field in|
|00000c20| 74 6f 20 66 6c 64 20 69 | 64 20 31 36 0d 70 75 74 |to fld i|d 16.put|
|00000c30| 20 68 6f 75 72 46 69 65 | 6c 64 20 69 6e 74 6f 20 | hourFie|ld into |
|00000c40| 66 6c 64 20 69 64 20 31 | 38 0d 70 75 74 20 63 68 |fld id 1|8.put ch|
|00000c50| 61 72 67 65 46 69 65 6c | 64 20 69 6e 74 6f 20 66 |argeFiel|d into f|
|00000c60| 6c 64 20 69 64 20 31 37 | 0d 70 75 74 20 70 72 6f |ld id 17|.put pro|
|00000c70| 6a 4e 61 6d 65 20 69 6e | 74 6f 20 66 6c 64 20 69 |jName in|to fld i|
|00000c80| 64 20 31 0d 70 75 74 20 | 63 6c 69 65 6e 74 4e 61 |d 1.put |clientNa|
|00000c90| 6d 65 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 32 |me into |fld id 2|
|00000ca0| 0d 70 75 74 20 6a 6f 62 | 4e 75 6d 20 69 6e 74 6f |.put job|Num into|
|00000cb0| 20 66 6c 64 20 69 64 20 | 33 0d 70 75 74 20 63 68 | fld id |3.put ch|
|00000cc0| 61 72 67 65 54 6f 74 61 | 6c 20 69 6e 74 6f 20 66 |argeTota|l into f|
|00000cd0| 6c 64 20 69 64 20 34 0d | 70 75 74 20 68 6f 75 72 |ld id 4.|put hour|
|00000ce0| 54 6f 74 61 6c 20 26 26 | 20 22 68 72 2e 22 20 69 |Total &&| "hr." i|
|00000cf0| 6e 74 6f 20 66 6c 64 20 | 69 64 20 35 0d 63 6f 6e |nto fld |id 5.con|
|00000d00| 76 65 72 74 20 73 74 61 | 72 74 44 61 74 65 20 74 |vert sta|rtDate t|
|00000d10| 6f 20 73 68 6f 72 74 20 | 64 61 74 65 0d 63 6f 6e |o short |date.con|
|00000d20| 76 65 72 74 20 65 6e 64 | 44 61 74 65 20 74 6f 20 |vert end|Date to |
|00000d30| 73 68 6f 72 74 20 64 61 | 74 65 0d 70 75 74 20 73 |short da|te.put s|
|00000d40| 74 61 72 74 44 61 74 65 | 20 26 26 20 22 d0 22 20 |tartDate| && "." |
|00000d50| 26 26 20 65 6e 64 44 61 | 74 65 20 69 6e 74 6f 20 |&& endDa|te into |
|00000d60| 66 6c 64 20 69 64 20 32 | 32 0d 69 66 20 63 75 73 |fld id 2|2.if cus|
|00000d70| 74 46 6c 64 20 ad 20 22 | 22 20 74 68 65 6e 20 70 |tFld . "|" then p|
|00000d80| 75 74 20 63 75 73 74 46 | 6c 64 20 69 6e 74 6f 20 |ut custF|ld into |
|00000d90| 66 6c 64 20 69 64 20 39 | 0d 75 6e 6c 6f 63 6b 20 |fld id 9|.unlock |
|00000da0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 62 75 69 6c 64 |screen.e|nd build|
|00000db0| 53 75 6d 52 65 70 6f 72 | 74 0d 0d 6f 6e 20 6f 70 |SumRepor|t..on op|
|00000dc0| 65 6e 52 70 74 0d 67 6c | 6f 62 61 6c 20 74 6b 50 |enRpt.gl|obal tkP|
|00000dd0| 72 65 66 73 2c 72 46 69 | 6c 65 0d 70 75 74 20 22 |refs,rFi|le.put "|
|00000de0| 22 20 69 6e 74 6f 20 6f | 6c 64 4c 6f 63 0d 69 66 |" into o|ldLoc.if|
|00000df0| 20 6c 69 6e 65 20 31 32 | 20 6f 66 20 74 6b 50 72 | line 12| of tkPr|
|00000e00| 65 66 73 20 3d 20 35 0d | 74 68 65 6e 20 70 75 74 |efs = 5.|then put|
|00000e10| 20 22 4f 70 65 6e 20 72 | 65 70 6f 72 74 20 77 69 | "Open r|eport wi|
|00000e20| 74 68 22 20 26 26 20 6c | 69 6e 65 20 34 20 6f 66 |th" && l|ine 4 of|
|00000e30| 20 74 6b 50 72 65 66 73 | 20 26 20 22 3f 22 20 69 | tkPrefs| & "?" i|
|00000e40| 6e 74 6f 20 70 72 6f 6d | 70 74 0d 65 6c 73 65 20 |nto prom|pt.else |
|00000e50| 70 75 74 20 22 4f 70 65 | 6e 20 46 69 6c 65 4d 61 |put "Ope|n FileMa|
|00000e60| 6b 65 72 20 72 65 70 6f | 72 74 3f 22 20 69 6e 74 |ker repo|rt?" int|
|00000e70| 6f 20 70 72 6f 6d 70 74 | 0d 67 65 74 20 64 6f 44 |o prompt|.get doD|
|00000e80| 6c 6f 67 28 32 36 31 39 | 2c 70 72 6f 6d 70 74 29 |log(2619|,prompt)|
|00000e90| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 69 74 |.if line| 1 of it|
|00000ea0| 20 3d 20 32 20 74 68 65 | 6e 20 65 78 69 74 20 6f | = 2 the|n exit o|
|00000eb0| 70 65 6e 52 70 74 0d 0d | 69 66 20 6c 69 6e 65 20 |penRpt..|if line |
|00000ec0| 31 32 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 |12 of tk|Prefs = |
|00000ed0| 35 20 74 68 65 6e 0d 69 | 66 20 74 68 65 72 65 20 |5 then.i|f there |
|00000ee0| 69 73 20 6e 6f 74 20 61 | 20 66 69 6c 65 20 6c 69 |is not a| file li|
|00000ef0| 6e 65 20 32 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |ne 2 of |tkPrefs |
|00000f00| 74 68 65 6e 0d 70 75 74 | 20 6c 69 6e 65 20 32 20 |then.put| line 2 |
|00000f10| 6f 66 20 74 6b 50 72 65 | 66 73 20 69 6e 74 6f 20 |of tkPre|fs into |
|00000f20| 6f 6c 64 4c 6f 63 0d 73 | 64 41 6c 65 72 74 20 22 |oldLoc.s|dAlert "|
|00000f30| 43 61 6e 27 74 20 66 69 | 6e 64 22 20 26 26 20 6c |Can't fi|nd" && l|
|00000f40| 69 6e 65 20 34 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 4 of| tkPrefs|
|00000f50| 0d 6a 6f 62 41 70 70 73 | 0d 65 6e 64 20 69 66 0d |.jobApps|.end if.|
|00000f60| 69 66 20 6c 69 6e 65 20 | 32 20 6f 66 20 74 6b 50 |if line |2 of tkP|
|00000f70| 72 65 66 73 20 ad 20 6f | 6c 64 4c 6f 63 20 74 68 |refs . o|ldLoc th|
|00000f80| 65 6e 20 6f 70 65 6e 20 | 72 46 69 6c 65 20 77 69 |en open |rFile wi|
|00000f90| 74 68 20 6c 69 6e 65 20 | 32 20 6f 66 20 74 6b 50 |th line |2 of tkP|
|00000fa0| 72 65 66 73 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |refs.end| if..if |
|00000fb0| 6c 69 6e 65 20 31 32 20 | 6f 66 20 74 6b 50 72 65 |line 12 |of tkPre|
|00000fc0| 66 73 20 3d 20 34 20 74 | 68 65 6e 0d 69 66 20 74 |fs = 4 t|hen.if t|
|00000fd0| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 66 69 |here is |not a fi|
|00000fe0| 6c 65 20 6c 69 6e 65 20 | 31 35 20 6f 66 20 74 6b |le line |15 of tk|
|00000ff0| 50 72 65 66 73 20 74 68 | 65 6e 20 66 69 6e 64 54 |Prefs th|en findT|
|00001000| 69 6d 65 52 65 70 6f 72 | 74 0d 69 66 20 74 68 65 |imeRepor|t.if the|
|00001010| 72 65 20 69 73 20 6e 6f | 74 20 61 20 66 69 6c 65 |re is no|t a file|
|00001020| 20 6c 69 6e 65 20 31 20 | 6f 66 20 74 6b 50 72 65 | line 1 |of tkPre|
|00001030| 66 73 20 74 68 65 6e 0d | 70 75 74 20 6c 69 6e 65 |fs then.|put line|
|00001040| 20 31 20 6f 66 20 74 6b | 50 72 65 66 73 20 69 6e | 1 of tk|Prefs in|
|00001050| 74 6f 20 6f 6c 64 4c 6f | 63 0d 73 64 41 6c 65 72 |to oldLo|c.sdAler|
|00001060| 74 20 22 43 61 6e 27 74 | 20 66 69 6e 64 20 46 69 |t "Can't| find Fi|
|00001070| 6c 65 4d 61 6b 65 72 22 | 0d 6a 6f 62 41 70 70 73 |leMaker"|.jobApps|
|00001080| 0d 65 6e 64 20 69 66 0d | 69 66 20 6c 69 6e 65 20 |.end if.|if line |
|00001090| 31 20 6f 66 20 74 6b 50 | 72 65 66 73 20 ad 20 6f |1 of tkP|refs . o|
|000010a0| 6c 64 4c 6f 63 20 74 68 | 65 6e 20 6f 70 65 6e 20 |ldLoc th|en open |
|000010b0| 6c 69 6e 65 20 31 35 20 | 6f 66 20 74 6b 50 72 65 |line 15 |of tkPre|
|000010c0| 66 73 20 77 69 74 68 20 | 6c 69 6e 65 20 31 20 6f |fs with |line 1 o|
|000010d0| 66 20 74 6b 50 72 65 66 | 73 0d 67 65 74 20 74 68 |f tkPref|s.get th|
|000010e0| 65 20 72 65 73 75 6c 74 | 0d 69 66 20 6f 66 66 73 |e result|.if offs|
|000010f0| 65 74 28 22 61 70 70 6c | 69 63 61 74 69 6f 6e 22 |et("appl|ication"|
|00001100| 2c 69 74 29 20 ad 20 30 | 20 74 68 65 6e 20 73 64 |,it) . 0| then sd|
|00001110| 41 6c 65 72 74 20 22 4e | 6f 74 20 65 6e 6f 75 67 |Alert "N|ot enoug|
|00001120| 68 20 6d 65 6d 6f 72 79 | 21 22 0d 65 6c 73 65 20 |h memory|!".else |
|00001130| 69 66 20 69 74 20 ad 20 | 22 22 20 74 68 65 6e 20 |if it . |"" then |
|00001140| 6f 70 65 6e 20 6c 69 6e | 65 20 31 20 6f 66 20 74 |open lin|e 1 of t|
|00001150| 6b 50 72 65 66 73 0d 65 | 6e 64 20 69 66 0d 65 6e |kPrefs.e|nd if.en|
|00001160| 64 20 6f 70 65 6e 52 70 | 74 0d 0d 6f 6e 20 77 72 |d openRp|t..on wr|
|00001170| 69 74 65 52 65 70 6f 72 | 74 0d 67 6c 6f 62 61 6c |iteRepor|t.global|
|00001180| 20 74 65 78 74 2c 72 46 | 69 6c 65 2c 74 6b 50 72 | text,rF|ile,tkPr|
|00001190| 65 66 73 0d 6f 70 65 6e | 20 66 69 6c 65 20 72 46 |efs.open| file rF|
|000011a0| 69 6c 65 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |ile.if t|he resul|
|000011b0| 74 20 ad 20 22 22 20 74 | 68 65 6e 0d 67 65 74 20 |t . "" t|hen.get |
|000011c0| 74 68 65 20 72 65 73 75 | 6c 74 0d 62 65 65 70 0d |the resu|lt.beep.|
|000011d0| 73 64 41 6c 65 72 74 20 | 69 74 20 26 26 20 22 43 |sdAlert |it && "C|
|000011e0| 61 6e d5 74 20 63 6f 6d | 70 6c 65 74 65 20 65 78 |an.t com|plete ex|
|000011f0| 70 6f 72 74 2e 22 0d 70 | 75 74 20 22 22 20 69 6e |port.".p|ut "" in|
|00001200| 74 6f 20 74 65 78 74 0d | 65 78 69 74 20 77 72 69 |to text.|exit wri|
|00001210| 74 65 52 65 70 6f 72 74 | 0d 65 6e 64 20 69 66 0d |teReport|.end if.|
|00001220| 77 72 69 74 65 20 74 65 | 78 74 20 74 6f 20 66 69 |write te|xt to fi|
|00001230| 6c 65 20 72 46 69 6c 65 | 0d 63 6c 6f 73 65 20 66 |le rFile|.close f|
|00001240| 69 6c 65 20 72 46 69 6c | 65 0d 70 75 74 20 22 22 |ile rFil|e.put ""|
|00001250| 20 69 6e 74 6f 20 74 65 | 78 74 0d 69 66 20 6c 69 | into te|xt.if li|
|00001260| 6e 65 20 31 39 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 19 of| tkPrefs|
|00001270| 20 3d 20 22 54 52 55 45 | 22 20 74 68 65 6e 20 6f | = "TRUE|" then o|
|00001280| 70 65 6e 52 70 74 0d 65 | 6e 64 20 77 72 69 74 65 |penRpt.e|nd write|
|00001290| 52 65 70 6f 72 74 0d 0d | 6f 6e 20 73 64 41 6c 65 |Report..|on sdAle|
|000012a0| 72 74 20 70 72 6f 6d 70 | 74 0d 67 65 74 20 64 6f |rt promp|t.get do|
|000012b0| 44 6c 6f 67 28 32 39 35 | 31 2c 70 72 6f 6d 70 74 |Dlog(295|1,prompt|
|000012c0| 29 0d 65 6e 64 20 73 64 | 41 6c 65 72 74 0d 0d 6f |).end sd|Alert..o|
|000012d0| 6e 20 73 68 6f 77 54 4b | 4e 61 76 0d 67 6c 6f 62 |n showTK|Nav.glob|
|000012e0| 61 6c 20 74 6b 50 72 65 | 66 73 2c 70 61 6c 48 69 |al tkPre|fs,palHi|
|000012f0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 74 |.if ther|e is not|
|00001300| 20 61 20 77 69 6e 64 6f | 77 20 22 73 65 63 74 4e | a windo|w "sectN|
|00001310| 61 76 22 0d 74 68 65 6e | 20 70 61 6c 65 74 74 65 |av".then| palette|
|00001320| 20 22 73 65 63 74 4e 61 | 76 22 2c 74 6b 4e 61 76 | "sectNa|v",tkNav|
|00001330| 4c 6f 63 28 29 0d 73 65 | 74 20 74 68 65 20 68 69 |Loc().se|t the hi|
|00001340| 6c 69 74 65 64 42 75 74 | 74 6f 6e 20 6f 66 20 77 |litedBut|ton of w|
|00001350| 69 6e 64 6f 77 20 22 73 | 65 63 74 4e 61 76 22 20 |indow "s|ectNav" |
|00001360| 74 6f 20 70 61 6c 48 69 | 0d 70 75 74 20 22 48 69 |to palHi|.put "Hi|
|00001370| 64 65 20 4e 61 76 69 67 | 61 74 6f 72 22 20 69 6e |de Navig|ator" in|
|00001380| 74 6f 20 6d 65 6e 75 49 | 74 65 6d 20 31 32 20 6f |to menuI|tem 12 o|
|00001390| 66 20 6d 65 6e 75 20 47 | 6f 0d 70 75 74 20 22 48 |f menu G|o.put "H|
|000013a0| 69 64 65 22 20 69 6e 74 | 6f 20 6c 69 6e 65 20 32 |ide" int|o line 2|
|000013b0| 32 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 65 6e 64 |2 of tkP|refs.end|
|000013c0| 20 73 68 6f 77 54 4b 4e | 61 76 0d 0d 6f 6e 20 6f | showTKN|av..on o|
|000013d0| 70 65 6e 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |penStack|.global |
|000013e0| 7a 2c 74 6b 50 72 65 66 | 73 2c 70 61 6c 48 69 2c |z,tkPref|s,palHi,|
|000013f0| 74 69 6d 65 72 4f 6e 0d | 73 65 74 20 74 68 65 20 |timerOn.|set the |
|00001400| 63 61 6e 74 61 62 6f 72 | 74 20 6f 66 20 74 68 69 |cantabor|t of thi|
|00001410| 73 20 73 74 61 63 6b 20 | 74 6f 20 74 72 75 65 0d |s stack |to true.|
|00001420| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 69 66 20 63 |lock scr|een.if c|
|00001430| 68 61 72 20 31 20 6f 66 | 20 74 68 65 20 76 65 72 |har 1 of| the ver|
|00001440| 73 69 6f 6e 20 3c 20 32 | 20 74 68 65 6e 0d 73 64 |sion < 2| then.sd|
|00001450| 41 6c 65 72 74 20 22 53 | 6f 72 72 79 2e 20 54 69 |Alert "S|orry. Ti|
|00001460| 6d 65 43 61 63 68 65 20 | 72 65 71 75 69 72 65 73 |meCache |requires|
|00001470| 20 48 79 70 65 72 43 61 | 72 64 20 76 65 72 73 69 | HyperCa|rd versi|
|00001480| 6f 6e 20 32 2e 30 20 6f | 72 20 68 69 67 68 65 72 |on 2.0 o|r higher|
|00001490| 2e 22 0d 67 6f 20 68 6f | 6d 65 0d 65 6e 64 20 69 |.".go ho|me.end i|
|000014a0| 66 0d 69 66 20 66 6c 64 | 20 69 64 20 31 35 20 6f |f.if fld| id 15 o|
|000014b0| 66 20 63 64 20 31 20 3d | 20 22 22 20 74 68 65 6e |f cd 1 =| "" then|
|000014c0| 20 70 75 74 20 74 68 65 | 20 6c 6f 6e 67 20 64 61 | put the| long da|
|000014d0| 74 65 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 31 |te into |fld id 1|
|000014e0| 35 20 6f 66 20 63 64 20 | 31 0d 69 66 20 7a 20 3d |5 of cd |1.if z =|
|000014f0| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 31 20 2b | "" then| put 1 +|
|00001500| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00001510| 6c 69 6e 65 73 20 69 6e | 20 66 6c 64 20 69 64 20 |lines in| fld id |
|00001520| 31 20 6f 66 20 63 64 20 | 31 29 20 69 6e 74 6f 20 |1 of cd |1) into |
|00001530| 7a 0d 70 75 74 20 66 6c | 64 20 69 64 20 34 38 20 |z.put fl|d id 48 |
|00001540| 6f 66 20 63 64 20 31 20 | 69 6e 74 6f 20 74 6b 50 |of cd 1 |into tkP|
|00001550| 72 65 66 73 0d 69 66 20 | 6c 69 6e 65 20 35 20 6f |refs.if |line 5 o|
|00001560| 66 20 74 6b 50 72 65 66 | 73 20 3d 20 22 22 20 74 |f tkPref|s = "" t|
|00001570| 68 65 6e 20 6c 6f 61 64 | 50 72 65 66 73 0d 69 66 |hen load|Prefs.if|
|00001580| 20 67 65 74 54 69 6d 65 | 64 4c 69 6e 65 28 29 20 | getTime|dLine() |
|00001590| ad 20 22 22 20 74 68 65 | 6e 20 70 75 74 20 74 72 |. "" the|n put tr|
|000015a0| 75 65 20 69 6e 74 6f 20 | 74 69 6d 65 72 4f 6e 0d |ue into |timerOn.|
|000015b0| 73 74 61 72 74 53 74 75 | 66 66 0d 64 69 73 61 62 |startStu|ff.disab|
|000015c0| 6c 65 20 6d 65 6e 75 49 | 74 65 6d 20 34 20 6f 66 |le menuI|tem 4 of|
|000015d0| 20 6d 65 6e 75 20 46 69 | 6c 65 0d 64 69 73 61 62 | menu Fi|le.disab|
|000015e0| 6c 65 20 6d 65 6e 75 49 | 74 65 6d 20 37 20 6f 66 |le menuI|tem 7 of|
|000015f0| 20 6d 65 6e 75 20 47 6f | 0d 75 6e 6c 6f 63 6b 20 | menu Go|.unlock |
|00001600| 73 63 72 65 65 6e 0d 65 | 6e 64 20 6f 70 65 6e 53 |screen.e|nd openS|
|00001610| 74 61 63 6b 0d 0d 6f 6e | 20 72 65 73 75 6d 65 53 |tack..on| resumeS|
|00001620| 74 61 63 6b 0d 67 6c 6f | 62 61 6c 20 62 67 69 64 |tack.glo|bal bgid|
|00001630| 2c 74 6b 50 72 65 66 73 | 2c 70 61 6c 48 69 0d 73 |,tkPrefs|,palHi.s|
|00001640| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00001650| 63 68 0d 73 74 61 72 74 | 53 74 75 66 66 0d 69 66 |ch.start|Stuff.if|
|00001660| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00001670| 6f 77 20 22 73 65 63 74 | 4e 61 76 22 0d 74 68 65 |ow "sect|Nav".the|
|00001680| 6e 20 73 65 74 20 74 68 | 65 20 68 69 6c 69 74 65 |n set th|e hilite|
|00001690| 64 42 75 74 74 6f 6e 20 | 6f 66 20 77 69 6e 64 6f |dButton |of windo|
|000016a0| 77 20 22 73 65 63 74 4e | 61 76 22 20 74 6f 20 70 |w "sectN|av" to p|
|000016b0| 61 6c 48 69 0d 73 65 74 | 20 74 68 65 20 63 61 6e |alHi.set| the can|
|000016c0| 74 61 62 6f 72 74 20 6f | 66 20 74 68 69 73 20 73 |tabort o|f this s|
|000016d0| 74 61 63 6b 20 74 6f 20 | 74 72 75 65 0d 70 75 74 |tack to |true.put|
|000016e0| 20 66 6c 64 20 69 64 20 | 34 38 20 6f 66 20 63 64 | fld id |48 of cd|
|000016f0| 20 31 20 69 6e 74 6f 20 | 74 6b 50 72 65 66 73 0d | 1 into |tkPrefs.|
|00001700| 69 66 20 62 67 69 64 20 | ad 20 22 22 20 74 68 65 |if bgid |. "" the|
|00001710| 6e 20 73 65 6e 64 20 6f | 70 65 6e 42 61 63 6b 67 |n send o|penBackg|
|00001720| 72 6f 75 6e 64 20 74 6f | 20 62 67 20 69 64 20 62 |round to| bg id b|
|00001730| 67 69 64 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |gid.disa|ble menu|
|00001740| 49 74 65 6d 20 35 20 6f | 66 20 6d 65 6e 75 20 46 |Item 5 o|f menu F|
|00001750| 69 6c 65 0d 65 6e 64 20 | 72 65 73 75 6d 65 53 74 |ile.end |resumeSt|
|00001760| 61 63 6b 0d 0d 6f 6e 20 | 73 74 61 72 74 53 74 75 |ack..on |startStu|
|00001770| 66 66 0d 67 6c 6f 62 61 | 6c 20 62 67 69 64 2c 74 |ff.globa|l bgid,t|
|00001780| 6b 50 72 65 66 73 2c 73 | 74 61 72 74 4c 65 76 65 |kPrefs,s|tartLeve|
|00001790| 6c 2c 6d 73 67 4c 6f 63 | 0d 6c 6f 63 6b 20 73 63 |l,msgLoc|.lock sc|
|000017a0| 72 65 65 6e 0d 70 75 74 | 20 74 68 65 20 75 73 65 |reen.put| the use|
|000017b0| 72 4c 65 76 65 6c 20 69 | 6e 74 6f 20 73 74 61 72 |rLevel i|nto star|
|000017c0| 74 4c 65 76 65 6c 0d 70 | 75 74 20 6c 6f 63 20 6f |tLevel.p|ut loc o|
|000017d0| 66 20 77 69 6e 64 6f 77 | 20 22 6d 65 73 73 61 67 |f window| "messag|
|000017e0| 65 22 20 69 6e 74 6f 20 | 6d 73 67 4c 6f 63 0d 69 |e" into |msgLoc.i|
|000017f0| 66 20 74 68 65 20 6f 70 | 74 69 6f 6e 4b 65 79 20 |f the op|tionKey |
|00001800| ad 20 64 6f 77 6e 20 74 | 68 65 6e 20 73 65 74 20 |. down t|hen set |
|00001810| 6c 6f 63 20 6f 66 20 77 | 69 6e 64 6f 77 20 22 6d |loc of w|indow "m|
|00001820| 65 73 73 61 67 65 22 20 | 74 6f 20 35 30 30 30 2c |essage" |to 5000,|
|00001830| 35 30 30 30 0d 63 68 6f | 6f 73 65 20 62 72 6f 77 |5000.cho|ose brow|
|00001840| 73 65 20 74 6f 6f 6c 0d | 68 69 64 65 20 73 63 72 |se tool.|hide scr|
|00001850| 6f 6c 6c 20 77 69 6e 64 | 6f 77 0d 68 69 64 65 20 |oll wind|ow.hide |
|00001860| 70 61 74 74 65 72 6e 20 | 77 69 6e 64 6f 77 0d 68 |pattern |window.h|
|00001870| 69 64 65 20 74 6f 6f 6c | 20 77 69 6e 64 6f 77 0d |ide tool| window.|
|00001880| 73 65 74 20 74 68 65 20 | 63 61 6e 74 50 65 65 6b |set the |cantPeek|
|00001890| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 74 | of this| stack t|
|000018a0| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 68 65 20 75 |o true.s|et the u|
|000018b0| 73 65 72 4c 65 76 65 6c | 20 74 6f 20 33 0d 69 66 |serLevel| to 3.if|
|000018c0| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|000018d0| 20 22 4f 62 6a 65 63 74 | 73 22 20 74 68 65 6e 20 | "Object|s" then |
|000018e0| 64 65 6c 65 74 65 20 6d | 65 6e 75 20 22 4f 62 6a |delete m|enu "Obj|
|000018f0| 65 63 74 73 22 0d 69 66 | 20 74 68 65 72 65 20 69 |ects".if| there i|
|00001900| 73 20 61 20 6d 65 6e 75 | 20 22 54 6f 6f 6c 73 22 |s a menu| "Tools"|
|00001910| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00001920| 75 20 22 54 6f 6f 6c 73 | 22 0d 69 66 20 74 68 65 |u "Tools|".if the|
|00001930| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 20 22 46 6f |re is a |menu "Fo|
|00001940| 6e 74 22 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |nt" then| delete |
|00001950| 6d 65 6e 75 20 22 46 6f | 6e 74 22 0d 69 66 20 74 |menu "Fo|nt".if t|
|00001960| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 20 22 |here is |a menu "|
|00001970| 53 74 79 6c 65 22 20 74 | 68 65 6e 20 64 65 6c 65 |Style" t|hen dele|
|00001980| 74 65 20 6d 65 6e 75 20 | 22 53 74 79 6c 65 22 0d |te menu |"Style".|
|00001990| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|000019a0| 6e 75 20 22 47 6f 22 20 | 74 68 65 6e 20 64 65 6c |nu "Go" |then del|
|000019b0| 65 74 65 20 6d 65 6e 75 | 20 22 47 6f 22 0d 69 66 |ete menu| "Go".if|
|000019c0| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|000019d0| 20 22 45 64 69 74 22 20 | 74 68 65 6e 20 64 65 6c | "Edit" |then del|
|000019e0| 65 74 65 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d |ete menu| "Edit".|
|000019f0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00001a00| 6e 75 20 22 46 69 6c 65 | 22 20 74 68 65 6e 20 64 |nu "File|" then d|
|00001a10| 65 6c 65 74 65 20 6d 65 | 6e 75 20 22 46 69 6c 65 |elete me|nu "File|
|00001a20| 22 0d 74 6b 4d 65 6e 75 | 73 20 62 75 69 6c 64 0d |".tkMenu|s build.|
|00001a30| 73 68 6f 77 20 6d 65 6e | 75 42 61 72 0d 70 75 74 |show men|uBar.put|
|00001a40| 20 22 41 62 6f 75 74 20 | 54 69 6d 65 43 61 63 68 | "About |TimeCach|
|00001a50| 65 22 20 69 6e 74 6f 20 | 6d 65 6e 75 49 74 65 6d |e" into |menuItem|
|00001a60| 20 31 20 6f 66 20 6d 65 | 6e 75 20 41 70 70 6c 65 | 1 of me|nu Apple|
|00001a70| 0d 70 75 74 20 22 2d 2c | 22 20 26 20 6c 69 6e 65 |.put "-,|" & line|
|00001a80| 20 32 32 20 6f 66 20 74 | 6b 50 72 65 66 73 20 26 | 22 of t|kPrefs &|
|00001a90| 26 20 22 4e 61 76 69 67 | 61 74 6f 72 22 20 61 66 |& "Navig|ator" af|
|00001aa0| 74 65 72 20 6d 65 6e 75 | 20 47 6f 0d 69 66 20 6c |ter menu| Go.if l|
|00001ab0| 69 6e 65 20 32 32 20 6f | 66 20 74 6b 50 72 65 66 |ine 22 o|f tkPref|
|00001ac0| 73 20 3d 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |s = "" t|hen put |
|00001ad0| 22 48 69 64 65 22 20 69 | 6e 74 6f 20 6c 69 6e 65 |"Hide" i|nto line|
|00001ae0| 20 32 32 20 6f 66 20 74 | 6b 50 72 65 66 73 0d 69 | 22 of t|kPrefs.i|
|00001af0| 66 20 6c 69 6e 65 20 32 | 32 20 6f 66 20 74 6b 50 |f line 2|2 of tkP|
|00001b00| 72 65 66 73 20 3d 20 22 | 48 69 64 65 22 20 74 68 |refs = "|Hide" th|
|00001b10| 65 6e 20 73 68 6f 77 54 | 4b 4e 61 76 0d 70 75 74 |en showT|KNav.put|
|00001b20| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 63 61 72 64 | the loc| of card|
|00001b30| 20 77 69 6e 64 6f 77 20 | 69 6e 74 6f 20 6c 69 6e | window |into lin|
|00001b40| 65 20 32 35 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |e 25 of |tkPrefs.|
|00001b50| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00001b60| 20 6c 69 6e 65 73 20 69 | 6e 20 74 68 65 20 73 74 | lines i|n the st|
|00001b70| 61 63 6b 73 20 3e 20 31 | 20 74 68 65 6e 20 65 6e |acks > 1| then en|
|00001b80| 61 62 6c 65 20 6d 65 6e | 75 49 74 65 6d 20 32 20 |able men|uItem 2 |
|00001b90| 6f 66 20 6d 65 6e 75 20 | 46 69 6c 65 0d 65 6c 73 |of menu |File.els|
|00001ba0| 65 20 64 69 73 61 62 6c | 65 20 6d 65 6e 75 49 74 |e disabl|e menuIt|
|00001bb0| 65 6d 20 32 20 6f 66 20 | 6d 65 6e 75 20 46 69 6c |em 2 of |menu Fil|
|00001bc0| 65 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |e.unlock| screen.|
|00001bd0| 65 6e 64 20 73 74 61 72 | 74 53 74 75 66 66 0d 0d |end star|tStuff..|
|00001be0| 6f 6e 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |on suspe|ndStack.|
|00001bf0| 67 6c 6f 62 61 6c 20 62 | 67 69 64 0d 70 75 74 20 |global b|gid.put |
|00001c00| 74 68 65 20 69 64 20 6f | 66 20 74 68 69 73 20 62 |the id o|f this b|
|00001c10| 67 20 69 6e 74 6f 20 62 | 67 69 64 0d 63 6c 6f 73 |g into b|gid.clos|
|00001c20| 65 53 74 75 66 66 0d 70 | 61 73 73 20 73 75 73 70 |eStuff.p|ass susp|
|00001c30| 65 6e 64 53 74 61 63 6b | 0d 65 6e 64 20 73 75 73 |endStack|.end sus|
|00001c40| 70 65 6e 64 53 74 61 63 | 6b 0d 0d 6f 6e 20 63 6c |pendStac|k..on cl|
|00001c50| 6f 73 65 53 74 75 66 66 | 0d 67 6c 6f 62 61 6c 20 |oseStuff|.global |
|00001c60| 73 74 61 72 74 4c 65 76 | 65 6c 2c 74 6b 50 72 65 |startLev|el,tkPre|
|00001c70| 66 73 2c 70 61 73 74 65 | 4d 6f 64 65 2c 62 67 69 |fs,paste|Mode,bgi|
|00001c80| 64 2c 70 61 6c 48 69 2c | 6d 73 67 4c 6f 63 0d 73 |d,palHi,|msgLoc.s|
|00001c90| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00001ca0| 63 68 0d 69 66 20 70 61 | 73 74 65 4d 6f 64 65 20 |ch.if pa|steMode |
|00001cb0| 3d 20 74 72 75 65 20 74 | 68 65 6e 20 72 65 73 74 |= true t|hen rest|
|00001cc0| 6f 72 65 4d 6f 76 65 0d | 69 66 20 74 68 65 72 65 |oreMove.|if there|
|00001cd0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 22 73 74 | is a wi|ndow "st|
|00001ce0| 61 72 74 4d 6f 76 65 22 | 20 74 68 65 6e 20 63 6c |artMove"| then cl|
|00001cf0| 6f 73 65 20 77 69 6e 64 | 6f 77 20 22 73 74 61 72 |ose wind|ow "star|
|00001d00| 74 4d 6f 76 65 22 0d 69 | 66 20 74 68 65 72 65 20 |tMove".i|f there |
|00001d10| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 64 6f 4d |is a win|dow "doM|
|00001d20| 6f 76 65 22 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |ove" the|n close |
|00001d30| 77 69 6e 64 6f 77 20 22 | 64 6f 4d 6f 76 65 22 0d |window "|doMove".|
|00001d40| 70 75 74 20 6c 69 6e 65 | 20 32 32 20 6f 66 20 74 |put line| 22 of t|
|00001d50| 6b 50 72 65 66 73 20 69 | 6e 74 6f 20 6e 61 76 42 |kPrefs i|nto navB|
|00001d60| 6f 6f 6c 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ool.if t|here is |
|00001d70| 61 20 77 69 6e 64 6f 77 | 20 22 73 65 63 74 4e 61 |a window| "sectNa|
|00001d80| 76 22 20 74 68 65 6e 20 | 63 6c 6f 73 65 20 77 69 |v" then |close wi|
|00001d90| 6e 64 6f 77 20 22 73 65 | 63 74 4e 61 76 22 0d 70 |ndow "se|ctNav".p|
|00001da0| 75 74 20 6e 61 76 42 6f | 6f 6c 20 69 6e 74 6f 20 |ut navBo|ol into |
|00001db0| 6c 69 6e 65 20 32 32 20 | 6f 66 20 74 6b 50 72 65 |line 22 |of tkPre|
|00001dc0| 66 73 0d 70 72 65 66 53 | 65 74 0d 69 66 20 74 68 |fs.prefS|et.if th|
|00001dd0| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 20 54 69 |ere is a| menu Ti|
|00001de0| 6d 65 43 61 63 68 65 20 | 74 68 65 6e 20 54 4b 4d |meCache |then TKM|
|00001df0| 65 6e 75 73 20 64 65 6c | 65 74 65 0d 72 65 73 65 |enus del|ete.rese|
|00001e00| 74 20 6d 65 6e 75 42 61 | 72 0d 73 65 74 20 74 68 |t menuBa|r.set th|
|00001e10| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 73 |e userLe|vel to s|
|00001e20| 74 61 72 74 4c 65 76 65 | 6c 0d 73 65 74 20 74 68 |tartLeve|l.set th|
|00001e30| 65 20 6c 6f 63 20 6f 66 | 20 77 69 6e 64 6f 77 20 |e loc of| window |
|00001e40| 22 4d 65 73 73 61 67 65 | 22 20 74 6f 20 6d 73 67 |"Message|" to msg|
|00001e50| 4c 6f 63 0d 65 6e 64 20 | 63 6c 6f 73 65 53 74 75 |Loc.end |closeStu|
|00001e60| 66 66 0d 0d 6f 6e 20 63 | 6c 6f 73 65 53 74 61 63 |ff..on c|loseStac|
|00001e70| 6b 0d 67 6c 6f 62 61 6c | 20 62 67 69 64 2c 70 61 |k.global| bgid,pa|
|00001e80| 6c 48 69 0d 69 66 20 66 | 72 65 65 53 69 7a 65 20 |lHi.if f|reeSize |
|00001e90| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 3e 20 |of this |stack > |
|00001ea0| 31 32 30 30 30 20 74 68 | 65 6e 20 64 6f 4d 65 6e |12000 th|en doMen|
|00001eb0| 75 20 22 43 6f 6d 70 61 | 63 74 20 53 74 61 63 6b |u "Compa|ct Stack|
|00001ec0| 22 0d 63 6c 6f 73 65 53 | 74 75 66 66 0d 69 66 20 |".closeS|tuff.if |
|00001ed0| 74 68 65 20 76 69 73 69 | 62 6c 65 20 6f 66 20 66 |the visi|ble of f|
|00001ee0| 6c 64 20 69 64 20 35 38 | 20 6f 66 20 63 64 20 31 |ld id 58| of cd 1|
|00001ef0| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 20 68 69 64 | = true |then hid|
|00001f00| 65 48 65 6c 70 0d 70 75 | 74 20 22 22 20 69 6e 74 |eHelp.pu|t "" int|
|00001f10| 6f 20 62 67 69 64 0d 70 | 75 74 20 22 22 20 69 6e |o bgid.p|ut "" in|
|00001f20| 74 6f 20 70 61 6c 48 69 | 0d 65 6e 64 20 63 6c 6f |to palHi|.end clo|
|00001f30| 73 65 53 74 61 63 6b 0d | 0d 6f 6e 20 64 65 6c 43 |seStack.|.on delC|
|00001f40| 61 72 64 0d 67 6c 6f 62 | 61 6c 20 63 61 72 64 4e |ard.glob|al cardN|
|00001f50| 75 6d 2c 63 75 74 4c 69 | 6e 65 2c 66 72 6f 6d 46 |um,cutLi|ne,fromF|
|00001f60| 69 65 6c 64 2c 74 72 75 | 6e 63 46 69 65 6c 64 0d |ield,tru|ncField.|
|00001f70| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00001f80| 20 63 64 73 20 69 6e 20 | 74 68 69 73 20 62 67 20 | cds in |this bg |
|00001f90| 3c 20 32 20 6f 72 20 74 | 68 65 20 63 61 6e 74 64 |< 2 or t|he cantd|
|00001fa0| 65 6c 65 74 65 20 6f 66 | 20 74 68 69 73 20 63 64 |elete of| this cd|
|00001fb0| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 0d 62 65 65 | = true |then.bee|
|00001fc0| 70 20 6f 6e 65 0d 73 64 | 41 6c 65 72 74 20 22 53 |p one.sd|Alert "S|
|00001fd0| 6f 72 72 79 2c 20 79 6f | 75 20 63 61 6e d5 74 20 |orry, yo|u can.t |
|00001fe0| 64 65 6c 65 74 65 20 74 | 68 69 73 20 63 61 72 64 |delete t|his card|
|00001ff0| 21 22 0d 65 78 69 74 20 | 64 65 6c 43 61 72 64 0d |!".exit |delCard.|
|00002000| 65 6e 64 20 69 66 0d 62 | 65 65 70 0d 70 75 74 20 |end if.b|eep.put |
|00002010| 22 59 6f 75 20 64 6f 6e | d5 74 20 52 45 41 4c 4c |"You don|.t REALL|
|00002020| 59 20 77 61 6e 74 20 74 | 6f 20 64 65 73 74 72 6f |Y want t|o destro|
|00002030| 79 20 61 6c 6c 20 74 68 | 69 73 20 64 61 74 61 2c |y all th|is data,|
|00002040| 20 44 4f 20 59 4f 55 3f | 22 20 69 6e 74 6f 20 70 | DO YOU?|" into p|
|00002050| 72 6f 6d 70 74 0d 67 65 | 74 20 64 6f 44 4c 6f 67 |rompt.ge|t doDLog|
|00002060| 28 31 36 30 35 30 2c 70 | 72 6f 6d 70 74 2c 22 22 |(16050,p|rompt,""|
|00002070| 2c 22 22 2c 22 22 2c 22 | 22 2c 22 22 2c 74 72 75 |,"","","|","",tru|
|00002080| 65 29 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |e).if li|ne 1 of |
|00002090| 69 74 20 3d 20 31 20 74 | 68 65 6e 20 65 78 69 74 |it = 1 t|hen exit|
|000020a0| 20 64 65 6c 43 61 72 64 | 0d 73 65 74 20 74 68 65 | delCard|.set the|
|000020b0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000020c0| 0d 73 65 74 20 6c 6f 63 | 6b 53 63 72 65 65 6e 20 |.set loc|kScreen |
|000020d0| 74 6f 20 74 72 75 65 0d | 70 75 74 20 74 68 65 20 |to true.|put the |
|000020e0| 69 64 20 6f 66 20 74 68 | 69 73 20 62 67 20 69 6e |id of th|is bg in|
|000020f0| 74 6f 20 63 75 72 42 47 | 0d 70 75 74 20 74 68 65 |to curBG|.put the|
|00002100| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00002110| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 63 61 72 64 |his cd i|nto card|
|00002120| 4e 61 6d 65 0d 69 66 20 | 77 6f 72 64 20 31 20 6f |Name.if |word 1 o|
|00002130| 66 20 63 61 72 64 4e 61 | 6d 65 20 3d 20 22 41 72 |f cardNa|me = "Ar|
|00002140| 63 22 20 74 68 65 6e 0d | 70 75 74 20 35 32 20 69 |c" then.|put 52 i|
|00002150| 6e 74 6f 20 66 72 6f 6d | 46 69 65 6c 64 0d 70 75 |nto from|Field.pu|
|00002160| 74 20 34 37 20 69 6e 74 | 6f 20 74 72 75 6e 63 46 |t 47 int|o truncF|
|00002170| 69 65 6c 64 0d 65 6c 73 | 65 0d 70 75 74 20 31 37 |ield.els|e.put 17|
|00002180| 20 69 6e 74 6f 20 66 72 | 6f 6d 46 69 65 6c 64 0d | into fr|omField.|
|00002190| 70 75 74 20 35 30 20 69 | 6e 74 6f 20 74 72 75 6e |put 50 i|nto trun|
|000021a0| 63 46 69 65 6c 64 0d 70 | 75 74 20 6f 66 66 73 65 |cField.p|ut offse|
|000021b0| 74 28 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |t(short |name of |
|000021c0| 74 68 69 73 20 63 64 2c | 66 6c 64 20 69 64 20 35 |this cd,|fld id 5|
|000021d0| 31 20 6f 66 20 63 64 20 | 31 29 20 69 6e 74 6f 20 |1 of cd |1) into |
|000021e0| 6a 0d 72 65 70 65 61 74 | 0d 69 66 20 6a 20 3d 20 |j.repeat|.if j = |
|000021f0| 30 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |0 then e|xit repe|
|00002200| 61 74 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |at.put t|he numbe|
|00002210| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 63 68 |r of lin|es in ch|
|00002220| 61 72 20 31 20 74 6f 20 | 69 74 20 6f 66 20 66 6c |ar 1 to |it of fl|
|00002230| 64 20 69 64 20 35 31 20 | 6f 66 20 63 64 20 31 20 |d id 51 |of cd 1 |
|00002240| 69 6e 74 6f 20 78 0d 73 | 65 6e 64 20 22 63 6c 65 |into x.s|end "cle|
|00002250| 61 72 4c 69 6e 65 22 20 | 26 26 20 78 20 74 6f 20 |arLine" |&& x to |
|00002260| 63 64 20 31 0d 70 75 74 | 20 6a 20 2d 20 31 20 69 |cd 1.put| j - 1 i|
|00002270| 6e 74 6f 20 6a 0d 65 6e | 64 20 72 65 70 65 61 74 |nto j.en|d repeat|
|00002280| 0d 65 6e 64 20 69 66 0d | 67 65 74 20 69 74 65 6d |.end if.|get item|
|00002290| 46 69 6e 64 28 63 61 72 | 64 4e 61 6d 65 2c 66 6c |Find(car|dName,fl|
|000022a0| 64 20 69 64 20 66 72 6f | 6d 46 69 65 6c 64 20 6f |d id fro|mField o|
|000022b0| 66 20 63 64 20 31 2c 34 | 29 0d 69 66 20 69 74 20 |f cd 1,4|).if it |
|000022c0| ad 20 30 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |. 0 then|.delete |
|000022d0| 6c 69 6e 65 20 69 74 20 | 6f 66 20 66 6c 64 20 69 |line it |of fld i|
|000022e0| 64 20 66 72 6f 6d 46 69 | 65 6c 64 20 6f 66 20 63 |d fromFi|eld of c|
|000022f0| 64 20 31 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |d 1.dele|te line |
|00002300| 69 74 20 6f 66 20 66 6c | 64 20 69 64 20 74 72 75 |it of fl|d id tru|
|00002310| 6e 63 46 69 65 6c 64 20 | 6f 66 20 63 64 20 31 0d |ncField |of cd 1.|
|00002320| 65 6e 64 20 69 66 0d 67 | 6f 20 63 64 20 63 61 72 |end if.g|o cd car|
|00002330| 64 4e 61 6d 65 0d 73 65 | 74 20 74 68 65 20 75 73 |dName.se|t the us|
|00002340| 65 72 4c 65 76 65 6c 20 | 74 6f 20 35 0d 73 65 74 |erLevel |to 5.set|
|00002350| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|00002360| 20 74 72 75 65 0d 64 6f | 4d 65 6e 75 20 22 43 75 | true.do|Menu "Cu|
|00002370| 74 20 43 61 72 64 22 0d | 73 65 74 20 6c 6f 63 6b |t Card".|set lock|
|00002380| 4d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |Messages| to fals|
|00002390| 65 0d 73 65 74 20 74 68 | 65 20 75 73 65 72 4c 65 |e.set th|e userLe|
|000023a0| 76 65 6c 20 74 6f 20 33 | 0d 67 6f 20 63 64 20 31 |vel to 3|.go cd 1|
|000023b0| 20 6f 66 20 62 67 20 69 | 64 20 63 75 72 42 47 0d | of bg i|d curBG.|
|000023c0| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|000023d0| 20 74 6f 20 66 61 6c 73 | 65 0d 75 6e 6c 6f 63 6b | to fals|e.unlock|
|000023e0| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 64 65 6c 43 | screen.|end delC|
|000023f0| 61 72 64 0d 0d 6f 6e 20 | 64 6f 4d 65 6e 75 20 78 |ard..on |doMenu x|
|00002400| 0d 69 66 20 6f 66 66 73 | 65 74 28 22 51 75 69 74 |.if offs|et("Quit|
|00002410| 22 2c 20 78 29 20 ad 20 | 30 20 74 68 65 6e 0d 67 |", x) . |0 then.g|
|00002420| 6c 6f 62 61 6c 20 74 6b | 50 72 65 66 73 2c 74 69 |lobal tk|Prefs,ti|
|00002430| 6d 65 72 4f 6e 0d 69 66 | 20 74 69 6d 65 72 4f 6e |merOn.if| timerOn|
|00002440| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 0d 67 65 74 | = true |then.get|
|00002450| 20 64 6f 44 6c 6f 67 28 | 34 36 39 35 2c 22 59 6f | doDlog(|4695,"Yo|
|00002460| 75 d5 72 65 20 73 74 69 | 6c 6c 20 74 69 6d 69 6e |u.re sti|ll timin|
|00002470| 67 20 61 20 6a 6f 62 2e | 20 22 26 20 c2 0d 22 41 |g a job.| "& .."A|
|00002480| 72 65 20 79 6f 75 20 73 | 75 72 65 20 79 6f 75 20 |re you s|ure you |
|00002490| 77 61 6e 74 20 74 6f 20 | 65 78 69 74 20 54 69 6d |want to |exit Tim|
|000024a0| 65 43 61 63 68 65 3f 22 | 29 0d 69 66 20 6c 69 6e |eCache?"|).if lin|
|000024b0| 65 20 31 20 6f 66 20 69 | 74 20 3d 20 32 20 74 68 |e 1 of i|t = 2 th|
|000024c0| 65 6e 20 65 78 69 74 20 | 74 6f 20 68 79 70 65 72 |en exit |to hyper|
|000024d0| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |card.end| if.put |
|000024e0| 6c 69 6e 65 20 32 32 20 | 6f 66 20 74 6b 50 72 65 |line 22 |of tkPre|
|000024f0| 66 73 20 69 6e 74 6f 20 | 6e 61 76 42 6f 6f 6c 0d |fs into |navBool.|
|00002500| 69 66 20 6e 61 76 42 6f | 6f 6c 20 3d 20 22 48 69 |if navBo|ol = "Hi|
|00002510| 64 65 22 20 74 68 65 6e | 20 68 69 64 65 54 4b 4e |de" then| hideTKN|
|00002520| 61 76 0d 69 66 20 6f 66 | 66 73 65 74 28 22 54 69 |av.if of|fset("Ti|
|00002530| 6d 65 43 61 63 68 65 22 | 2c 78 29 20 ad 20 30 20 |meCache"|,x) . 0 |
|00002540| 74 68 65 6e 20 64 6f 4d | 65 6e 75 20 22 51 75 69 |then doM|enu "Qui|
|00002550| 74 20 48 79 70 65 72 43 | 61 72 64 22 0d 70 75 74 |t HyperC|ard".put|
|00002560| 20 6e 61 76 42 6f 6f 6c | 20 69 6e 74 6f 20 6c 69 | navBool| into li|
|00002570| 6e 65 20 32 32 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 22 of| tkPrefs|
|00002580| 0d 65 6c 73 65 20 69 66 | 20 78 20 3d 20 22 44 61 |.else if| x = "Da|
|00002590| 69 6c 79 20 4c 6f 67 22 | 20 74 68 65 6e 0d 67 6f |ily Log"| then.go|
|000025a0| 20 63 64 20 31 0d 65 78 | 69 74 20 64 6f 4d 65 6e | cd 1.ex|it doMen|
|000025b0| 75 0d 65 6c 73 65 20 69 | 66 20 78 20 3d 20 22 53 |u.else i|f x = "S|
|000025c0| 68 6f 77 20 4e 61 76 69 | 67 61 74 6f 72 22 20 74 |how Navi|gator" t|
|000025d0| 68 65 6e 0d 73 68 6f 77 | 54 4b 4e 61 76 0d 65 78 |hen.show|TKNav.ex|
|000025e0| 69 74 20 64 6f 4d 65 6e | 75 0d 65 6c 73 65 20 69 |it doMen|u.else i|
|000025f0| 66 20 78 20 3d 20 22 48 | 69 64 65 20 4e 61 76 69 |f x = "H|ide Navi|
|00002600| 67 61 74 6f 72 22 20 74 | 68 65 6e 0d 68 69 64 65 |gator" t|hen.hide|
|00002610| 54 4b 4e 61 76 0d 65 78 | 69 74 20 64 6f 4d 65 6e |TKNav.ex|it doMen|
|00002620| 75 0d 65 6c 73 65 20 69 | 66 20 78 20 3d 20 22 4a |u.else i|f x = "J|
|00002630| 6f 62 20 53 68 65 65 74 | 73 22 20 74 68 65 6e 0d |ob Sheet|s" then.|
|00002640| 67 6f 20 62 67 20 69 64 | 20 35 34 34 39 0d 65 78 |go bg id| 5449.ex|
|00002650| 69 74 20 64 6f 4d 65 6e | 75 0d 65 6c 73 65 20 69 |it doMen|u.else i|
|00002660| 66 20 78 20 3d 20 22 41 | 72 63 68 69 76 65 22 20 |f x = "A|rchive" |
|00002670| 74 68 65 6e 0d 67 6f 20 | 62 67 20 69 64 20 34 37 |then.go |bg id 47|
|00002680| 31 37 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 |17.exit |doMenu.e|
|00002690| 6c 73 65 20 69 66 20 78 | 20 3d 20 22 54 69 6d 65 |lse if x| = "Time|
|000026a0| 73 68 65 65 74 73 22 20 | 74 68 65 6e 0d 67 6f 20 |sheets" |then.go |
|000026b0| 6c 61 73 74 20 63 64 0d | 65 78 69 74 20 64 6f 4d |last cd.|exit doM|
|000026c0| 65 6e 75 0d 65 6c 73 65 | 20 69 66 20 78 20 3d 20 |enu.else| if x = |
|000026d0| 22 54 69 6d 65 43 61 63 | 68 65 20 48 65 6c 70 22 |"TimeCac|he Help"|
|000026e0| 20 74 68 65 6e 20 68 65 | 6c 70 4d 65 0d 65 6c 73 | then he|lpMe.els|
|000026f0| 65 20 69 66 20 78 20 3d | 20 22 48 69 64 65 20 54 |e if x =| "Hide T|
|00002700| 69 6d 65 43 61 63 68 65 | 22 20 74 68 65 6e 20 68 |imeCache|" then h|
|00002710| 69 64 65 54 4b 0d 65 6c | 73 65 20 69 66 20 78 20 |ideTK.el|se if x |
|00002720| 3d 20 22 53 75 6d 6d 61 | 72 79 20 52 65 70 6f 72 |= "Summa|ry Repor|
|00002730| 74 22 20 74 68 65 6e 0d | 62 75 69 6c 64 53 75 6d |t" then.|buildSum|
|00002740| 52 65 70 6f 72 74 0d 65 | 78 69 74 20 64 6f 4d 65 |Report.e|xit doMe|
|00002750| 6e 75 0d 65 6c 73 65 20 | 69 66 20 78 20 3d 20 22 |nu.else |if x = "|
|00002760| 44 65 6c 65 74 65 20 50 | 72 6f 6a 65 63 74 22 20 |Delete P|roject" |
|00002770| 74 68 65 6e 0d 64 65 6c | 43 61 72 64 0d 65 78 69 |then.del|Card.exi|
|00002780| 74 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 20 69 66 |t doMenu|.else if|
|00002790| 20 78 20 3d 20 22 46 69 | 6e 64 2e 2e 2e 22 20 74 | x = "Fi|nd..." t|
|000027a0| 68 65 6e 0d 64 6f 46 69 | 6e 64 0d 65 78 69 74 20 |hen.doFi|nd.exit |
|000027b0| 64 6f 4d 65 6e 75 0d 65 | 6c 73 65 20 69 66 20 78 |doMenu.e|lse if x|
|000027c0| 20 3d 20 22 46 69 6e 64 | 20 41 67 61 69 6e 22 20 | = "Find| Again" |
|000027d0| 74 68 65 6e 0d 66 69 6e | 64 41 67 61 69 6e 0d 65 |then.fin|dAgain.e|
|000027e0| 78 69 74 20 64 6f 4d 65 | 6e 75 0d 65 6c 73 65 20 |xit doMe|nu.else |
|000027f0| 69 66 20 78 20 3d 20 22 | 54 72 61 6e 73 66 65 72 |if x = "|Transfer|
|00002800| 20 57 61 72 6e 69 6e 67 | 73 22 20 74 68 65 6e 0d | Warning|s" then.|
|00002810| 73 65 74 57 61 72 6e 69 | 6e 67 73 0d 65 78 69 74 |setWarni|ngs.exit|
|00002820| 20 64 6f 4d 65 6e 75 0d | 65 6c 73 65 20 69 66 20 | doMenu.|else if |
|00002830| 78 20 3d 20 22 41 75 74 | 6f 20 54 69 6d 65 73 68 |x = "Aut|o Timesh|
|00002840| 65 65 74 73 22 20 74 68 | 65 6e 0d 73 65 74 41 75 |eets" th|en.setAu|
|00002850| 74 6f 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 |to.exit |doMenu.e|
|00002860| 6c 73 65 20 69 66 20 78 | 20 3d 20 22 43 75 73 74 |lse if x| = "Cust|
|00002870| 6f 6d 20 4a 6f 62 20 46 | 69 65 6c 64 22 20 74 68 |om Job F|ield" th|
|00002880| 65 6e 0d 73 70 65 63 46 | 6c 64 53 65 74 75 70 0d |en.specF|ldSetup.|
|00002890| 65 78 69 74 20 64 6f 4d | 65 6e 75 0d 65 6c 73 65 |exit doM|enu.else|
|000028a0| 20 69 66 20 78 20 3d 20 | 22 4a 6f 62 20 4e 75 6d | if x = |"Job Num|
|000028b0| 62 65 72 73 22 20 74 68 | 65 6e 0d 73 65 74 4a 6f |bers" th|en.setJo|
|000028c0| 62 4e 75 6d 0d 65 78 69 | 74 20 64 6f 4d 65 6e 75 |bNum.exi|t doMenu|
|000028d0| 0d 65 6c 73 65 20 69 66 | 20 78 20 3d 20 22 48 6f |.else if| x = "Ho|
|000028e0| 75 72 20 44 69 76 69 73 | 69 6f 6e 73 22 20 74 68 |ur Divis|ions" th|
|000028f0| 65 6e 0d 63 68 61 6e 67 | 65 54 69 6d 65 0d 65 78 |en.chang|eTime.ex|
|00002900| 69 74 20 64 6f 4d 65 6e | 75 0d 65 6c 73 65 20 69 |it doMen|u.else i|
|00002910| 66 20 78 20 3d 20 22 43 | 75 72 72 65 6e 63 79 20 |f x = "C|urrency |
|00002920| 53 65 74 74 69 6e 67 73 | 22 20 74 68 65 6e 0d 73 |Settings|" then.s|
|00002930| 65 74 43 75 72 72 0d 65 | 78 69 74 20 64 6f 4d 65 |etCurr.e|xit doMe|
|00002940| 6e 75 0d 65 6c 73 65 20 | 69 66 20 78 20 3d 20 22 |nu.else |if x = "|
|00002950| 52 65 70 6f 72 74 20 50 | 72 69 6e 74 69 6e 67 20 |Report P|rinting |
|00002960| 46 6f 6e 74 22 20 74 68 | 65 6e 0d 73 65 74 50 72 |Font" th|en.setPr|
|00002970| 69 6e 74 46 6f 6e 74 0d | 65 78 69 74 20 64 6f 4d |intFont.|exit doM|
|00002980| 65 6e 75 0d 65 6c 73 65 | 20 69 66 20 78 20 3d 20 |enu.else| if x = |
|00002990| 22 4a 6f 62 20 45 78 70 | 6f 72 74 20 46 6f 72 6d |"Job Exp|ort Form|
|000029a0| 61 74 22 20 74 68 65 6e | 0d 65 78 70 6f 72 74 46 |at" then|.exportF|
|000029b0| 6f 72 6d 61 74 0d 65 78 | 69 74 20 64 6f 4d 65 6e |ormat.ex|it doMen|
|000029c0| 75 0d 65 6c 73 65 20 69 | 66 20 78 20 3d 20 22 53 |u.else i|f x = "S|
|000029d0| 6b 69 70 20 57 65 65 6b | 65 6e 64 73 22 20 74 68 |kip Week|ends" th|
|000029e0| 65 6e 0d 73 65 74 57 6b | 6e 64 73 0d 65 78 69 74 |en.setWk|nds.exit|
|000029f0| 20 64 6f 4d 65 6e 75 0d | 65 6c 73 65 20 69 66 20 | doMenu.|else if |
|00002a00| 78 20 3d 20 22 54 69 6d | 65 72 20 4c 6f 67 67 69 |x = "Tim|er Loggi|
|00002a10| 6e 67 22 20 74 68 65 6e | 0d 73 65 74 4c 6f 67 67 |ng" then|.setLogg|
|00002a20| 69 6e 67 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |ing.exit| doMenu.|
|00002a30| 65 6c 73 65 20 69 66 20 | 78 20 3d 20 22 50 72 69 |else if |x = "Pri|
|00002a40| 6e 74 69 6e 67 20 46 6f | 6e 74 22 20 74 68 65 6e |nting Fo|nt" then|
|00002a50| 0d 73 65 74 50 72 69 6e | 74 46 6f 6e 74 0d 65 78 |.setPrin|tFont.ex|
|00002a60| 69 74 20 64 6f 4d 65 6e | 75 0d 65 6c 73 65 20 69 |it doMen|u.else i|
|00002a70| 66 20 78 20 3d 20 22 4c | 6f 6e 67 20 43 6f 6d 6d |f x = "L|ong Comm|
|00002a80| 65 6e 74 73 22 20 74 68 | 65 6e 0d 73 65 74 43 6f |ents" th|en.setCo|
|00002a90| 6d 6d 65 6e 74 73 0d 65 | 78 69 74 20 64 6f 4d 65 |mments.e|xit doMe|
|00002aa0| 6e 75 0d 65 6c 73 65 20 | 69 66 20 78 20 3d 20 22 |nu.else |if x = "|
|00002ab0| 50 72 6f 74 65 63 74 20 | 53 74 61 63 6b 2e 2e 2e |Protect |Stack...|
|00002ac0| 22 20 74 68 65 6e 0d 69 | 66 20 6d 73 67 20 ad 20 |" then.i|f msg . |
|00002ad0| 22 50 61 73 73 77 6f 72 | 64 22 20 74 68 65 6e 0d |"Passwor|d" then.|
|00002ae0| 65 78 69 74 20 64 6f 6d | 65 6e 75 0d 65 6e 64 20 |exit dom|enu.end |
|00002af0| 69 66 0d 65 6c 73 65 20 | 69 66 20 78 20 3d 20 22 |if.else |if x = "|
|00002b00| 50 61 67 65 20 53 65 74 | 75 70 2e 2e 2e 22 20 74 |Page Set|up..." t|
|00002b10| 68 65 6e 0d 70 75 74 20 | 66 6c 64 20 69 64 20 37 |hen.put |fld id 7|
|00002b20| 35 20 6f 66 20 63 64 20 | 31 20 69 6e 74 6f 20 70 |5 of cd |1 into p|
|00002b30| 53 65 74 75 70 0d 67 65 | 74 20 50 52 50 61 67 65 |Setup.ge|t PRPage|
|00002b40| 53 65 74 55 70 28 70 53 | 65 74 75 70 2c 66 61 6c |SetUp(pS|etup,fal|
|00002b50| 73 65 29 0d 69 66 20 66 | 69 72 73 74 20 77 6f 72 |se).if f|irst wor|
|00002b60| 64 20 6f 66 20 69 74 20 | 3d 20 22 45 52 52 4f 52 |d of it |= "ERROR|
|00002b70| 3a 22 20 74 68 65 6e 0d | 62 65 65 70 0d 73 64 41 |:" then.|beep.sdA|
|00002b80| 6c 65 72 74 20 69 74 0d | 65 78 69 74 20 64 6f 4d |lert it.|exit doM|
|00002b90| 65 6e 75 0d 65 6c 73 65 | 20 69 66 20 69 74 ad 22 |enu.else| if it."|
|00002ba0| 63 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 70 75 74 |cancel" |then.put|
|00002bb0| 20 69 74 20 69 6e 74 6f | 20 66 6c 64 20 69 64 20 | it into| fld id |
|00002bc0| 37 35 20 6f 66 20 63 64 | 20 31 0d 65 6e 64 20 69 |75 of cd| 1.end i|
|00002bd0| 66 0d 65 78 69 74 20 64 | 6f 4d 65 6e 75 0d 65 6c |f.exit d|oMenu.el|
|00002be0| 73 65 20 69 66 20 6f 66 | 66 73 65 74 28 22 41 62 |se if of|fset("Ab|
|00002bf0| 6f 75 74 22 2c 78 29 20 | ad 20 30 20 74 68 65 6e |out",x) |. 0 then|
|00002c00| 0d 69 66 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |.if the |visible |
|00002c10| 6f 66 20 66 6c 64 20 69 | 64 20 35 37 20 6f 66 20 |of fld i|d 57 of |
|00002c20| 63 64 20 31 20 3d 20 74 | 72 75 65 20 74 68 65 6e |cd 1 = t|rue then|
|00002c30| 20 65 78 69 74 20 64 6f | 4d 65 6e 75 0d 69 66 20 | exit do|Menu.if |
|00002c40| 74 68 65 20 76 69 73 69 | 62 6c 65 20 6f 66 20 63 |the visi|ble of c|
|00002c50| 64 20 77 69 6e 64 6f 77 | 20 3d 20 66 61 6c 73 65 |d window| = false|
|00002c60| 20 74 68 65 6e 20 65 78 | 69 74 20 64 6f 4d 65 6e | then ex|it doMen|
|00002c70| 75 0d 61 62 6f 75 74 4d | 65 0d 65 78 69 74 20 64 |u.aboutM|e.exit d|
|00002c80| 6f 4d 65 6e 75 0d 65 6e | 64 20 69 66 0d 70 61 73 |oMenu.en|d if.pas|
|00002c90| 73 20 64 6f 4d 65 6e 75 | 0d 65 6e 64 20 64 6f 4d |s doMenu|.end doM|
|00002ca0| 65 6e 75 0d 0d 6f 6e 20 | 66 69 6e 64 54 69 6d 65 |enu..on |findTime|
|00002cb0| 52 65 70 6f 72 74 0d 67 | 6c 6f 62 61 6c 20 74 6b |Report.g|lobal tk|
|00002cc0| 50 72 65 66 73 0d 61 6e | 73 77 65 72 20 66 69 6c |Prefs.an|swer fil|
|00002cd0| 65 20 22 57 68 65 72 65 | 20 69 73 20 74 68 65 20 |e "Where| is the |
|00002ce0| d2 54 69 6d 65 20 52 65 | 70 6f 72 74 d3 20 66 69 |.Time Re|port. fi|
|00002cf0| 6c 65 3f 22 0d 69 66 20 | 69 74 20 3d 20 22 22 20 |le?".if |it = "" |
|00002d00| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 68 79 70 |then exi|t to hyp|
|00002d10| 65 72 63 61 72 64 0d 69 | 66 20 6f 66 66 73 65 74 |ercard.i|f offset|
|00002d20| 28 22 54 69 6d 65 20 52 | 65 70 6f 72 74 22 2c 69 |("Time R|eport",i|
|00002d30| 74 29 20 3d 20 30 20 74 | 68 65 6e 0d 70 75 74 20 |t) = 0 t|hen.put |
|00002d40| 22 41 72 65 20 79 6f 75 | 20 73 75 72 65 20 74 68 |"Are you| sure th|
|00002d50| 69 73 20 69 73 20 61 20 | d2 54 69 6d 65 20 52 65 |is is a |.Time Re|
|00002d60| 70 6f 72 74 d3 20 66 69 | 6c 65 3f 22 20 69 6e 74 |port. fi|le?" int|
|00002d70| 6f 20 70 72 6f 6d 70 74 | 0d 67 65 74 20 64 6f 44 |o prompt|.get doD|
|00002d80| 4c 6f 67 28 34 30 35 30 | 2c 70 72 6f 6d 70 74 2c |Log(4050|,prompt,|
|00002d90| 22 22 2c 22 22 2c 22 22 | 2c 22 22 2c 22 22 2c 74 |"","",""|,"","",t|
|00002da0| 72 75 65 29 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |rue).if |line 1 o|
|00002db0| 66 20 69 74 20 3d 20 31 | 20 74 68 65 6e 20 65 78 |f it = 1| then ex|
|00002dc0| 69 74 20 74 6f 20 68 79 | 70 65 72 63 61 72 64 0d |it to hy|percard.|
|00002dd0| 65 6e 64 20 69 66 0d 70 | 75 74 20 69 74 20 69 6e |end if.p|ut it in|
|00002de0| 74 6f 20 6c 69 6e 65 20 | 31 35 20 6f 66 20 74 6b |to line |15 of tk|
|00002df0| 50 72 65 66 73 0d 70 72 | 65 66 53 65 74 0d 65 6e |Prefs.pr|efSet.en|
|00002e00| 64 20 66 69 6e 64 54 69 | 6d 65 52 65 70 6f 72 74 |d findTi|meReport|
|00002e10| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 63 6f 6e 76 65 |..functi|on conve|
|00002e20| 72 74 44 61 74 65 20 69 | 6e 44 61 74 65 0d 63 6f |rtDate i|nDate.co|
|00002e30| 6e 76 65 72 74 20 69 6e | 44 61 74 65 20 74 6f 20 |nvert in|Date to |
|00002e40| 73 65 63 6f 6e 64 73 0d | 72 65 74 75 72 6e 20 69 |seconds.|return i|
|00002e50| 6e 44 61 74 65 0d 65 6e | 64 20 63 6f 6e 76 65 72 |nDate.en|d conver|
|00002e60| 74 44 61 74 65 0d 0d 6f | 6e 20 73 73 52 70 74 0d |tDate..o|n ssRpt.|
|00002e70| 67 6c 6f 62 61 6c 20 74 | 6f 64 61 79 2c 74 65 78 |global t|oday,tex|
|00002e80| 74 2c 72 4e 61 6d 65 2c | 6c 6e 73 2c 72 46 69 6c |t,rName,|lns,rFil|
|00002e90| 65 0d 69 66 20 66 6c 64 | 20 69 64 20 32 20 3d 20 |e.if fld| id 2 = |
|00002ea0| 22 22 20 74 68 65 6e 20 | 65 78 69 74 20 73 73 52 |"" then |exit ssR|
|00002eb0| 70 74 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 74 |pt.put "|" into t|
|00002ec0| 65 78 74 0d 70 75 74 20 | 66 6c 64 20 69 64 20 34 |ext.put |fld id 4|
|00002ed0| 34 20 26 20 22 2f 22 20 | 26 20 66 6c 64 20 69 64 |4 & "/" |& fld id|
|00002ee0| 20 39 20 26 20 22 20 45 | 78 70 6f 72 74 22 20 69 | 9 & " E|xport" i|
|00002ef0| 6e 74 6f 20 72 4e 61 6d | 65 0d 70 75 74 20 74 68 |nto rNam|e.put th|
|00002f00| 65 20 64 61 74 65 20 69 | 6e 74 6f 20 74 6f 64 61 |e date i|nto toda|
|00002f10| 79 0d 67 65 74 20 67 65 | 74 52 44 61 74 65 73 28 |y.get ge|tRDates(|
|00002f20| 22 45 78 70 6f 72 74 22 | 29 0d 69 66 20 69 74 20 |"Export"|).if it |
|00002f30| 3d 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |= "Cance|l" then |
|00002f40| 65 78 69 74 20 73 73 52 | 70 74 0d 70 75 74 20 74 |exit ssR|pt.put t|
|00002f50| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00002f60| 65 73 20 69 6e 20 66 6c | 64 20 69 64 20 32 20 69 |es in fl|d id 2 i|
|00002f70| 6e 74 6f 20 6c 6e 73 0d | 58 4c 52 65 70 6f 72 74 |nto lns.|XLReport|
|00002f80| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 2c 6c 69 | line 1 |of it,li|
|00002f90| 6e 65 20 32 20 6f 66 20 | 69 74 0d 65 6e 64 20 73 |ne 2 of |it.end s|
|00002fa0| 73 52 70 74 0d 0d 6f 6e | 20 66 6c 6d 52 70 74 0d |sRpt..on| flmRpt.|
|00002fb0| 67 6c 6f 62 61 6c 20 74 | 6f 64 61 79 2c 70 2c 74 |global t|oday,p,t|
|00002fc0| 65 78 74 2c 72 4e 61 6d | 65 2c 66 6d 44 61 74 65 |ext,rNam|e,fmDate|
|00002fd0| 73 0d 69 66 20 66 6c 64 | 20 69 64 20 32 20 3d 20 |s.if fld| id 2 = |
|00002fe0| 22 22 20 74 68 65 6e 20 | 65 78 69 74 20 66 6c 6d |"" then |exit flm|
|00002ff0| 52 70 74 0d 70 75 74 20 | 66 6c 64 20 69 64 20 34 |Rpt.put |fld id 4|
|00003000| 34 20 26 20 22 2f 22 20 | 26 20 66 6c 64 20 69 64 |4 & "/" |& fld id|
|00003010| 20 39 20 26 20 22 20 45 | 78 70 6f 72 74 22 20 69 | 9 & " E|xport" i|
|00003020| 6e 74 6f 20 72 4e 61 6d | 65 0d 67 65 74 20 67 65 |nto rNam|e.get ge|
|00003030| 74 52 44 61 74 65 73 28 | 22 45 78 70 6f 72 74 22 |tRDates(|"Export"|
|00003040| 29 0d 69 66 20 69 74 20 | 3d 20 22 43 61 6e 63 65 |).if it |= "Cance|
|00003050| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 74 6f 20 |l" then |exit to |
|00003060| 68 79 70 65 72 63 61 72 | 64 0d 70 75 74 20 66 44 |hypercar|d.put fD|
|00003070| 61 74 65 73 28 66 6c 64 | 20 69 64 20 32 2c 6c 69 |ates(fld| id 2,li|
|00003080| 6e 65 20 31 20 6f 66 20 | 69 74 2c 6c 69 6e 65 20 |ne 1 of |it,line |
|00003090| 32 20 6f 66 20 69 74 29 | 20 69 6e 74 6f 20 66 6d |2 of it)| into fm|
|000030a0| 44 61 74 65 73 0d 70 75 | 74 20 6e 75 6d 62 65 72 |Dates.pu|t number|
|000030b0| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 66 6d 44 | of line|s in fmD|
|000030c0| 61 74 65 73 20 69 6e 74 | 6f 20 6c 6e 73 0d 69 66 |ates int|o lns.if|
|000030d0| 20 6c 6e 73 20 3e 20 33 | 36 20 74 68 65 6e 20 67 | lns > 3|6 then g|
|000030e0| 65 74 20 66 61 74 52 65 | 70 6f 72 74 28 6c 6e 73 |et fatRe|port(lns|
|000030f0| 29 0d 69 66 20 69 74 20 | 3d 20 22 43 61 6e 63 65 |).if it |= "Cance|
|00003100| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 66 6c 6d |l" then |exit flm|
|00003110| 52 70 74 0d 70 75 74 20 | 74 68 65 20 64 61 74 65 |Rpt.put |the date|
|00003120| 20 69 6e 74 6f 20 74 6f | 64 61 79 0d 70 75 74 20 | into to|day.put |
|00003130| 74 68 65 20 6e 75 6d 54 | 6f 43 68 61 72 20 6f 66 |the numT|oChar of|
|00003140| 20 32 39 20 69 6e 74 6f | 20 70 0d 46 4d 52 65 70 | 29 into| p.FMRep|
|00003150| 6f 72 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 69 74 |ort line| 1 of it|
|00003160| 2c 6c 69 6e 65 20 32 20 | 6f 66 20 69 74 0d 65 6e |,line 2 |of it.en|
|00003170| 64 20 66 6c 6d 52 70 74 | 0d 0d 66 75 6e 63 74 69 |d flmRpt|..functi|
|00003180| 6f 6e 20 66 61 74 52 65 | 70 6f 72 74 20 6c 6e 73 |on fatRe|port lns|
|00003190| 0d 70 75 74 20 22 59 6f | 75 20 68 61 76 65 22 20 |.put "Yo|u have" |
|000031a0| 26 26 20 6c 6e 73 20 26 | 26 20 22 6c 69 6e 65 73 |&& lns &|& "lines|
|000031b0| 20 69 6e 20 74 68 69 73 | 20 72 65 70 6f 72 74 2e | in this| report.|
|000031c0| 20 54 68 65 20 d2 54 69 | 6d 65 20 52 65 70 6f 72 | The .Ti|me Repor|
|000031d0| 74 d3 20 74 65 6d 70 6c | 61 74 65 20 68 6f 6c 64 |t. templ|ate hold|
|000031e0| 73 20 33 36 2e 20 44 6f | 20 79 6f 75 20 73 74 69 |s 36. Do| you sti|
|000031f0| 6c 6c 20 77 61 6e 74 20 | 74 6f 20 70 72 6f 63 65 |ll want |to proce|
|00003200| 65 64 3f 22 20 69 6e 74 | 6f 20 70 72 6f 6d 70 74 |ed?" int|o prompt|
|00003210| 0d 67 65 74 20 64 6f 44 | 4c 6f 67 28 34 36 39 35 |.get doD|Log(4695|
|00003220| 2c 70 72 6f 6d 70 74 29 | 0d 69 66 20 6c 69 6e 65 |,prompt)|.if line|
|00003230| 20 31 20 6f 66 20 69 74 | 20 3d 20 32 20 74 68 65 | 1 of it| = 2 the|
|00003240| 6e 20 72 65 74 75 72 6e | 20 22 43 61 6e 63 65 6c |n return| "Cancel|
|00003250| 22 0d 65 6e 64 20 66 61 | 74 52 65 70 6f 72 74 0d |".end fa|tReport.|
|00003260| 0d 6f 6e 20 73 65 74 4a | 6f 62 4e 75 6d 0d 67 6c |.on setJ|obNum.gl|
|00003270| 6f 62 61 6c 20 74 6b 50 | 72 65 66 73 0d 69 66 20 |obal tkP|refs.if |
|00003280| 6c 69 6e 65 20 35 20 6f | 66 20 74 6b 50 72 65 66 |line 5 o|f tkPref|
|00003290| 73 20 3d 20 22 4d 61 6e | 75 61 6c 22 20 74 68 65 |s = "Man|ual" the|
|000032a0| 6e 20 70 75 74 20 37 20 | 69 6e 74 6f 20 72 0d 65 |n put 7 |into r.e|
|000032b0| 6c 73 65 20 70 75 74 20 | 36 20 69 6e 74 6f 20 72 |lse put |6 into r|
|000032c0| 0d 69 66 20 72 20 3d 20 | 36 20 74 68 65 6e 0d 69 |.if r = |6 then.i|
|000032d0| 66 20 66 6c 64 20 69 64 | 20 39 20 6f 66 20 63 64 |f fld id| 9 of cd|
|000032e0| 20 31 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 | 1 = "" |then put|
|000032f0| 20 22 31 30 30 31 22 20 | 69 6e 74 6f 20 6e 0d 65 | "1001" |into n.e|
|00003300| 6c 73 65 20 70 75 74 20 | 66 6c 64 20 69 64 20 39 |lse put |fld id 9|
|00003310| 20 69 6e 74 6f 20 6e 0d | 65 6c 73 65 20 70 75 74 | into n.|else put|
|00003320| 20 22 22 20 69 6e 74 6f | 20 6e 0d 67 65 74 20 64 | "" into| n.get d|
|00003330| 6f 44 6c 6f 67 28 34 37 | 34 35 2c 2c 2c 6e 2c 2c |oDlog(47|45,,,n,,|
|00003340| 72 29 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |r).if li|ne 1 of |
|00003350| 69 74 20 3d 20 32 20 74 | 68 65 6e 20 65 78 69 74 |it = 2 t|hen exit|
|00003360| 20 73 65 74 4a 6f 62 4e | 75 6d 0d 69 66 20 6c 69 | setJobN|um.if li|
|00003370| 6e 65 20 33 20 6f 66 20 | 69 74 20 3d 20 37 20 74 |ne 3 of |it = 7 t|
|00003380| 68 65 6e 20 70 75 74 20 | 22 4d 61 6e 75 61 6c 22 |hen put |"Manual"|
|00003390| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 35 20 6f 66 20 | into li|ne 5 of |
|000033a0| 74 6b 50 72 65 66 73 0d | 65 6c 73 65 0d 70 75 74 |tkPrefs.|else.put|
|000033b0| 20 22 41 75 74 6f 6d 61 | 74 69 63 22 20 69 6e 74 | "Automa|tic" int|
|000033c0| 6f 20 6c 69 6e 65 20 35 | 20 6f 66 20 74 6b 50 72 |o line 5| of tkPr|
|000033d0| 65 66 73 0d 69 66 20 6c | 69 6e 65 20 32 20 6f 66 |efs.if l|ine 2 of|
|000033e0| 20 69 74 20 ad 20 22 22 | 20 74 68 65 6e 0d 70 75 | it . ""| then.pu|
|000033f0| 74 20 6c 69 6e 65 20 32 | 20 6f 66 20 69 74 20 69 |t line 2| of it i|
|00003400| 6e 74 6f 20 6e 0d 70 75 | 74 20 63 68 65 63 6b 4e |nto n.pu|t checkN|
|00003410| 75 6d 62 65 72 28 6e 29 | 20 69 6e 74 6f 20 6e 0d |umber(n)| into n.|
|00003420| 69 66 20 6e 20 3d 20 72 | 65 64 6f 20 74 68 65 6e |if n = r|edo then|
|00003430| 0d 73 65 74 4a 6f 62 4e | 75 6d 0d 65 78 69 74 20 |.setJobN|um.exit |
|00003440| 73 65 74 4a 6f 62 4e 75 | 6d 0d 65 6e 64 20 69 66 |setJobNu|m.end if|
|00003450| 0d 70 75 74 20 72 6f 75 | 6e 64 28 6e 29 20 69 6e |.put rou|nd(n) in|
|00003460| 74 6f 20 66 6c 64 20 69 | 64 20 39 20 6f 66 20 63 |to fld i|d 9 of c|
|00003470| 64 20 31 0d 65 6e 64 20 | 69 66 0d 70 72 65 66 53 |d 1.end |if.prefS|
|00003480| 65 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 73 65 |et.end i|f.end se|
|00003490| 74 4a 6f 62 4e 75 6d 0d | 0d 6f 6e 20 63 68 61 6e |tJobNum.|.on chan|
|000034a0| 67 65 54 69 6d 65 0d 67 | 6c 6f 62 61 6c 20 74 6b |geTime.g|lobal tk|
|000034b0| 50 72 65 66 73 0d 69 66 | 20 6c 69 6e 65 20 36 20 |Prefs.if| line 6 |
|000034c0| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 31 30 20 |of tkPre|fs = 10 |
|000034d0| 74 68 65 6e 20 70 75 74 | 20 35 20 69 6e 74 6f 20 |then put| 5 into |
|000034e0| 61 0d 65 6c 73 65 20 70 | 75 74 20 34 20 69 6e 74 |a.else p|ut 4 int|
|000034f0| 6f 20 61 0d 67 65 74 20 | 64 6f 44 6c 6f 67 28 32 |o a.get |doDlog(2|
|00003500| 39 39 35 38 2c 2c 2c 2c | 2c 61 29 0d 69 66 20 6c |9958,,,,|,a).if l|
|00003510| 69 6e 65 20 31 20 6f 66 | 20 69 74 20 3d 20 32 20 |ine 1 of| it = 2 |
|00003520| 74 68 65 6e 20 65 78 69 | 74 20 63 68 61 6e 67 65 |then exi|t change|
|00003530| 54 69 6d 65 0d 69 66 20 | 6c 69 6e 65 20 32 20 6f |Time.if |line 2 o|
|00003540| 66 20 69 74 20 3d 20 34 | 20 74 68 65 6e 20 70 75 |f it = 4| then pu|
|00003550| 74 20 34 20 69 6e 74 6f | 20 6c 69 6e 65 20 36 20 |t 4 into| line 6 |
|00003560| 6f 66 20 74 6b 50 72 65 | 66 73 0d 65 6c 73 65 20 |of tkPre|fs.else |
|00003570| 70 75 74 20 31 30 20 69 | 6e 74 6f 20 6c 69 6e 65 |put 10 i|nto line|
|00003580| 20 36 20 6f 66 20 74 6b | 50 72 65 66 73 0d 70 72 | 6 of tk|Prefs.pr|
|00003590| 65 66 53 65 74 0d 65 6e | 64 20 63 68 61 6e 67 65 |efSet.en|d change|
|000035a0| 54 69 6d 65 0d 0d 6f 6e | 20 73 65 74 57 61 72 6e |Time..on| setWarn|
|000035b0| 69 6e 67 73 0d 67 6c 6f | 62 61 6c 20 74 6b 50 72 |ings.glo|bal tkPr|
|000035c0| 65 66 73 0d 69 66 20 6c | 69 6e 65 20 37 20 6f 66 |efs.if l|ine 7 of|
|000035d0| 20 74 6b 50 72 65 66 73 | 20 3d 20 22 54 72 75 65 | tkPrefs| = "True|
|000035e0| 22 20 74 68 65 6e 20 70 | 75 74 20 34 20 69 6e 74 |" then p|ut 4 int|
|000035f0| 6f 20 72 0d 65 6c 73 65 | 20 70 75 74 20 35 20 69 |o r.else| put 5 i|
|00003600| 6e 74 6f 20 72 0d 69 66 | 20 72 20 3d 20 34 20 74 |nto r.if| r = 4 t|
|00003610| 68 65 6e 20 70 75 74 20 | 6c 69 6e 65 20 38 20 6f |hen put |line 8 o|
|00003620| 66 20 74 6b 50 72 65 66 | 73 20 69 6e 74 6f 20 6d |f tkPref|s into m|
|00003630| 69 6e 0d 65 6c 73 65 20 | 70 75 74 20 22 22 20 69 |in.else |put "" i|
|00003640| 6e 74 6f 20 6d 69 6e 0d | 67 65 74 20 64 6f 44 6c |nto min.|get doDl|
|00003650| 6f 67 20 28 31 32 39 30 | 2c 22 57 61 72 6e 20 6d |og (1290|,"Warn m|
|00003660| 65 20 69 66 20 49 20 68 | 61 76 65 20 6c 65 73 73 |e if I h|ave less|
|00003670| 20 74 68 61 6e 3a 22 2c | 22 68 6f 75 72 73 2e 22 | than:",|"hours."|
|00003680| 2c 6d 69 6e 2c 22 22 2c | 72 29 0d 69 66 20 6c 69 |,min,"",|r).if li|
|00003690| 6e 65 20 31 20 6f 66 20 | 69 74 20 3d 20 32 20 74 |ne 1 of |it = 2 t|
|000036a0| 68 65 6e 20 65 78 69 74 | 20 73 65 74 57 61 72 6e |hen exit| setWarn|
|000036b0| 69 6e 67 73 0d 69 66 20 | 6c 69 6e 65 20 33 20 6f |ings.if |line 3 o|
|000036c0| 66 20 69 74 20 ad 20 34 | 20 6f 72 20 6c 69 6e 65 |f it . 4| or line|
|000036d0| 20 32 20 6f 66 20 69 74 | 20 3d 20 22 22 20 74 68 | 2 of it| = "" th|
|000036e0| 65 6e 20 70 75 74 20 22 | 66 61 6c 73 65 22 20 69 |en put "|false" i|
|000036f0| 6e 74 6f 20 6c 69 6e 65 | 20 37 20 6f 66 20 74 6b |nto line| 7 of tk|
|00003700| 50 72 65 66 73 0d 65 6c | 73 65 0d 70 75 74 20 6c |Prefs.el|se.put l|
|00003710| 69 6e 65 20 32 20 6f 66 | 20 69 74 20 69 6e 74 6f |ine 2 of| it into|
|00003720| 20 6e 0d 70 75 74 20 63 | 68 65 63 6b 4e 75 6d 62 | n.put c|heckNumb|
|00003730| 65 72 28 6e 29 20 69 6e | 74 6f 20 6e 0d 69 66 20 |er(n) in|to n.if |
|00003740| 6e 20 3d 20 72 65 64 6f | 20 74 68 65 6e 0d 73 65 |n = redo| then.se|
|00003750| 74 57 61 72 6e 69 6e 67 | 73 0d 65 78 69 74 20 73 |tWarning|s.exit s|
|00003760| 65 74 57 61 72 6e 69 6e | 67 73 0d 65 6e 64 20 69 |etWarnin|gs.end i|
|00003770| 66 0d 70 75 74 20 22 74 | 72 75 65 22 20 69 6e 74 |f.put "t|rue" int|
|00003780| 6f 20 6c 69 6e 65 20 37 | 20 6f 66 20 74 6b 50 72 |o line 7| of tkPr|
|00003790| 65 66 73 0d 70 75 74 20 | 6e 20 69 6e 74 6f 20 6c |efs.put |n into l|
|000037a0| 69 6e 65 20 38 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 8 of| tkPrefs|
|000037b0| 0d 65 6e 64 20 69 66 0d | 70 72 65 66 53 65 74 0d |.end if.|prefSet.|
|000037c0| 65 6e 64 20 73 65 74 57 | 61 72 6e 69 6e 67 73 0d |end setW|arnings.|
|000037d0| 0d 6f 6e 20 73 70 65 63 | 46 6c 64 53 65 74 75 70 |.on spec|FldSetup|
|000037e0| 0d 67 6c 6f 62 61 6c 20 | 74 6b 50 72 65 66 73 0d |.global |tkPrefs.|
|000037f0| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 69 64 |put the |short id|
|00003800| 20 6f 66 20 63 64 20 31 | 20 6f 66 20 62 67 20 41 | of cd 1| of bg A|
|00003810| 72 63 68 69 76 65 20 69 | 6e 74 6f 20 61 0d 70 75 |rchive i|nto a.pu|
|00003820| 74 20 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f |t the sh|ort id o|
|00003830| 66 20 63 64 20 31 20 6f | 66 20 62 67 20 69 64 20 |f cd 1 o|f bg id |
|00003840| 36 31 38 32 20 69 6e 74 | 6f 20 62 0d 70 75 74 20 |6182 int|o b.put |
|00003850| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00003860| 63 64 20 31 20 6f 66 20 | 62 67 20 69 64 20 35 34 |cd 1 of |bg id 54|
|00003870| 34 39 20 69 6e 74 6f 20 | 63 0d 69 66 20 6c 69 6e |49 into |c.if lin|
|00003880| 65 20 39 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d |e 9 of t|kPrefs =|
|00003890| 20 22 54 72 75 65 22 20 | 74 68 65 6e 20 70 75 74 | "True" |then put|
|000038a0| 20 35 20 69 6e 74 6f 20 | 72 0d 65 6c 73 65 20 70 | 5 into |r.else p|
|000038b0| 75 74 20 36 20 69 6e 74 | 6f 20 72 0d 67 65 74 20 |ut 6 int|o r.get |
|000038c0| 64 6f 44 6c 6f 67 28 34 | 37 34 33 2c 22 50 72 6f |doDlog(4|743,"Pro|
|000038d0| 6d 70 74 20 73 74 72 69 | 6e 67 3a 22 2c 22 46 69 |mpt stri|ng:","Fi|
|000038e0| 65 6c 64 20 6c 61 62 65 | 6c 3a 22 2c 6c 69 6e 65 |eld labe|l:",line|
|000038f0| 20 31 30 20 6f 66 20 74 | 6b 50 72 65 66 73 2c 6c | 10 of t|kPrefs,l|
|00003900| 69 6e 65 20 31 31 20 6f | 66 20 74 6b 50 72 65 66 |ine 11 o|f tkPref|
|00003910| 73 2c 72 29 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |s,r).if |line 1 o|
|00003920| 66 20 69 74 20 3d 20 32 | 20 74 68 65 6e 20 65 78 |f it = 2| then ex|
|00003930| 69 74 20 73 70 65 63 46 | 6c 64 53 65 74 75 70 0d |it specF|ldSetup.|
|00003940| 69 66 20 6c 69 6e 65 20 | 34 20 6f 66 20 69 74 20 |if line |4 of it |
|00003950| 3d 20 36 20 6f 72 20 6c | 69 6e 65 20 32 20 6f 66 |= 6 or l|ine 2 of|
|00003960| 20 69 74 20 3d 20 22 22 | 20 6f 72 20 6c 69 6e 65 | it = ""| or line|
|00003970| 20 33 20 6f 66 20 69 74 | 20 3d 20 22 22 20 74 68 | 3 of it| = "" th|
|00003980| 65 6e 0d 70 75 74 20 22 | 66 61 6c 73 65 22 20 69 |en.put "|false" i|
|00003990| 6e 74 6f 20 6c 69 6e 65 | 20 39 20 6f 66 20 74 6b |nto line| 9 of tk|
|000039a0| 50 72 65 66 73 0d 70 75 | 74 20 22 22 20 69 6e 74 |Prefs.pu|t "" int|
|000039b0| 6f 20 6c 69 6e 65 20 31 | 30 20 6f 66 20 74 6b 50 |o line 1|0 of tkP|
|000039c0| 72 65 66 73 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |refs.put| "" into|
|000039d0| 20 6c 69 6e 65 20 31 31 | 20 6f 66 20 74 6b 50 72 | line 11| of tkPr|
|000039e0| 65 66 73 0d 68 69 64 65 | 20 66 6c 64 20 69 64 20 |efs.hide| fld id |
|000039f0| 31 30 20 6f 66 20 63 64 | 20 69 64 20 63 0d 68 69 |10 of cd| id c.hi|
|00003a00| 64 65 20 66 6c 64 20 69 | 64 20 31 30 20 6f 66 20 |de fld i|d 10 of |
|00003a10| 63 64 20 69 64 20 61 0d | 68 69 64 65 20 66 6c 64 |cd id a.|hide fld|
|00003a20| 20 69 64 20 39 20 6f 66 | 20 63 64 20 69 64 20 62 | id 9 of| cd id b|
|00003a30| 0d 73 65 74 20 6e 61 6d | 65 20 6f 66 20 62 67 20 |.set nam|e of bg |
|00003a40| 62 74 6e 20 69 64 20 34 | 36 20 6f 66 20 63 64 20 |btn id 4|6 of cd |
|00003a50| 69 64 20 63 20 74 6f 20 | 22 22 20 2d 2d 20 66 69 |id c to |"" -- fi|
|00003a60| 65 6c 64 20 6c 61 62 65 | 6c 0d 73 65 74 20 6e 61 |eld labe|l.set na|
|00003a70| 6d 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |me of bg| btn id |
|00003a80| 34 36 20 6f 66 20 63 64 | 20 69 64 20 61 20 74 6f |46 of cd| id a to|
|00003a90| 20 22 22 20 2d 2d 20 66 | 69 65 6c 64 20 6c 61 62 | "" -- f|ield lab|
|00003aa0| 65 6c 0d 73 65 74 20 6e | 61 6d 65 20 6f 66 20 62 |el.set n|ame of b|
|00003ab0| 67 20 62 74 6e 20 69 64 | 20 31 30 20 6f 66 20 63 |g btn id| 10 of c|
|00003ac0| 64 20 69 64 20 62 20 74 | 6f 20 22 22 20 2d 2d 20 |d id b t|o "" -- |
|00003ad0| 66 69 65 6c 64 20 6c 61 | 62 65 6c 0d 65 6c 73 65 |field la|bel.else|
|00003ae0| 0d 70 75 74 20 22 74 72 | 75 65 22 20 69 6e 74 6f |.put "tr|ue" into|
|00003af0| 20 6c 69 6e 65 20 39 20 | 6f 66 20 74 6b 50 72 65 | line 9 |of tkPre|
|00003b00| 66 73 0d 73 68 6f 77 20 | 66 6c 64 20 69 64 20 31 |fs.show |fld id 1|
|00003b10| 30 20 6f 66 20 63 64 20 | 69 64 20 63 0d 73 68 6f |0 of cd |id c.sho|
|00003b20| 77 20 66 6c 64 20 69 64 | 20 31 30 20 6f 66 20 63 |w fld id| 10 of c|
|00003b30| 64 20 69 64 20 61 0d 73 | 68 6f 77 20 66 6c 64 20 |d id a.s|how fld |
|00003b40| 69 64 20 39 20 6f 66 20 | 63 64 20 69 64 20 62 0d |id 9 of |cd id b.|
|00003b50| 70 75 74 20 6c 69 6e 65 | 20 33 20 6f 66 20 69 74 |put line| 3 of it|
|00003b60| 20 69 6e 74 6f 20 6c 61 | 62 65 6c 4e 61 6d 65 0d | into la|belName.|
|00003b70| 69 66 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |if last |char of |
|00003b80| 6c 61 62 65 6c 4e 61 6d | 65 20 ad 20 22 3a 22 20 |labelNam|e . ":" |
|00003b90| 74 68 65 6e 20 70 75 74 | 20 22 3a 22 20 61 66 74 |then put| ":" aft|
|00003ba0| 65 72 20 6c 61 62 65 6c | 4e 61 6d 65 0d 73 65 74 |er label|Name.set|
|00003bb0| 20 6e 61 6d 65 20 6f 66 | 20 62 67 20 62 74 6e 20 | name of| bg btn |
|00003bc0| 69 64 20 34 36 20 6f 66 | 20 63 64 20 69 64 20 63 |id 46 of| cd id c|
|00003bd0| 20 74 6f 20 6c 61 62 65 | 6c 4e 61 6d 65 20 2d 2d | to labe|lName --|
|00003be0| 20 66 69 65 6c 64 20 6c | 61 62 65 6c 0d 73 65 74 | field l|abel.set|
|00003bf0| 20 6e 61 6d 65 20 6f 66 | 20 62 67 20 62 74 6e 20 | name of| bg btn |
|00003c00| 69 64 20 34 36 20 6f 66 | 20 63 64 20 69 64 20 61 |id 46 of| cd id a|
|00003c10| 20 74 6f 20 6c 61 62 65 | 6c 4e 61 6d 65 0d 73 65 | to labe|lName.se|
|00003c20| 74 20 6e 61 6d 65 20 6f | 66 20 62 67 20 62 74 6e |t name o|f bg btn|
|00003c30| 20 69 64 20 31 30 20 6f | 66 20 63 64 20 69 64 20 | id 10 o|f cd id |
|00003c40| 62 20 74 6f 20 6c 61 62 | 65 6c 4e 61 6d 65 0d 70 |b to lab|elName.p|
|00003c50| 75 74 20 6c 61 62 65 6c | 4e 61 6d 65 20 69 6e 74 |ut label|Name int|
|00003c60| 6f 20 6c 69 6e 65 20 31 | 31 20 6f 66 20 74 6b 50 |o line 1|1 of tkP|
|00003c70| 72 65 66 73 0d 70 75 74 | 20 6c 69 6e 65 20 32 20 |refs.put| line 2 |
|00003c80| 6f 66 20 69 74 20 69 6e | 74 6f 20 6c 69 6e 65 20 |of it in|to line |
|00003c90| 31 30 20 6f 66 20 74 6b | 50 72 65 66 73 20 2d 2d |10 of tk|Prefs --|
|00003ca0| 20 64 69 61 6c 6f 67 20 | 70 72 6f 6d 70 74 0d 65 | dialog |prompt.e|
|00003cb0| 6e 64 20 69 66 0d 70 72 | 65 66 53 65 74 0d 65 6e |nd if.pr|efSet.en|
|00003cc0| 64 20 73 70 65 63 46 6c | 64 53 65 74 75 70 0d 0d |d specFl|dSetup..|
|00003cd0| 6f 6e 20 61 62 6f 75 74 | 4d 65 0d 67 65 74 20 64 |on about|Me.get d|
|00003ce0| 6f 44 6c 6f 67 28 34 37 | 34 39 2c 22 22 29 0d 69 |oDlog(47|49,"").i|
|00003cf0| 66 20 69 74 20 3d 20 32 | 20 74 68 65 6e 20 65 78 |f it = 2| then ex|
|00003d00| 69 74 20 61 62 6f 75 74 | 4d 65 0d 65 6c 73 65 20 |it about|Me.else |
|00003d10| 68 65 6c 70 4d 65 0d 65 | 6e 64 20 61 62 6f 75 74 |helpMe.e|nd about|
|00003d20| 4d 65 0d 0d 6f 6e 20 68 | 65 6c 70 4d 65 0d 6c 6f |Me..on h|elpMe.lo|
|00003d30| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 73 68 20 63 |ck scree|n.push c|
|00003d40| 64 0d 67 6f 20 63 64 20 | 31 0d 73 68 6f 77 20 66 |d.go cd |1.show f|
|00003d50| 6c 64 20 69 64 20 36 38 | 0d 73 68 6f 77 20 66 6c |ld id 68|.show fl|
|00003d60| 64 20 69 64 20 36 39 0d | 73 68 6f 77 20 66 6c 64 |d id 69.|show fld|
|00003d70| 20 69 64 20 37 30 0d 73 | 68 6f 77 20 62 67 20 62 | id 70.s|how bg b|
|00003d80| 74 6e 20 69 64 20 37 33 | 0d 73 68 6f 77 20 62 67 |tn id 73|.show bg|
|00003d90| 20 62 74 6e 20 69 64 20 | 37 34 0d 69 66 20 74 68 | btn id |74.if th|
|00003da0| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00003db0| 22 73 65 63 74 4e 61 76 | 22 0d 74 68 65 6e 20 68 |"sectNav|".then h|
|00003dc0| 69 64 65 20 77 69 6e 64 | 6f 77 20 22 73 65 63 74 |ide wind|ow "sect|
|00003dd0| 4e 61 76 22 0d 64 69 73 | 61 62 6c 65 20 6d 65 6e |Nav".dis|able men|
|00003de0| 75 20 22 54 69 6d 65 43 | 61 63 68 65 22 0d 64 69 |u "TimeC|ache".di|
|00003df0| 73 61 62 6c 65 20 6d 65 | 6e 75 20 47 6f 0d 64 69 |sable me|nu Go.di|
|00003e00| 73 61 62 6c 65 20 6d 65 | 6e 75 20 45 64 69 74 0d |sable me|nu Edit.|
|00003e10| 64 69 73 61 62 6c 65 20 | 6d 65 6e 75 20 46 69 6c |disable |menu Fil|
|00003e20| 65 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |e.unlock| screen.|
|00003e30| 65 6e 64 20 68 65 6c 70 | 4d 65 0d 0d 6f 6e 20 68 |end help|Me..on h|
|00003e40| 69 64 65 48 65 6c 70 0d | 6c 6f 63 6b 20 73 63 72 |ideHelp.|lock scr|
|00003e50| 65 65 6e 0d 68 69 64 65 | 20 66 6c 64 20 69 64 20 |een.hide| fld id |
|00003e60| 36 38 20 6f 66 20 63 64 | 20 31 0d 68 69 64 65 20 |68 of cd| 1.hide |
|00003e70| 66 6c 64 20 69 64 20 36 | 39 20 6f 66 20 63 64 20 |fld id 6|9 of cd |
|00003e80| 31 0d 68 69 64 65 20 66 | 6c 64 20 69 64 20 37 30 |1.hide f|ld id 70|
|00003e90| 20 6f 66 20 63 64 20 31 | 0d 68 69 64 65 20 66 6c | of cd 1|.hide fl|
|00003ea0| 64 20 69 64 20 37 31 20 | 6f 66 20 63 64 20 31 0d |d id 71 |of cd 1.|
|00003eb0| 68 69 64 65 20 66 6c 64 | 20 69 64 20 37 32 20 6f |hide fld| id 72 o|
|00003ec0| 66 20 63 64 20 31 0d 68 | 69 64 65 20 62 67 20 62 |f cd 1.h|ide bg b|
|00003ed0| 74 6e 20 69 64 20 37 33 | 20 6f 66 20 63 64 20 31 |tn id 73| of cd 1|
|00003ee0| 0d 68 69 64 65 20 62 67 | 20 62 74 6e 20 69 64 20 |.hide bg| btn id |
|00003ef0| 37 34 20 6f 66 20 63 64 | 20 31 0d 73 65 74 20 74 |74 of cd| 1.set t|
|00003f00| 68 65 20 6e 61 6d 65 20 | 6f 66 20 62 67 20 62 74 |he name |of bg bt|
|00003f10| 6e 20 69 64 20 37 33 20 | 6f 66 20 63 64 20 31 20 |n id 73 |of cd 1 |
|00003f20| 74 6f 20 22 53 68 6f 77 | 20 d2 4d 65 6e 75 d3 20 |to "Show| .Menu. |
|00003f30| 48 65 6c 70 22 0d 65 6e | 61 62 6c 65 20 6d 65 6e |Help".en|able men|
|00003f40| 75 20 22 54 69 6d 65 43 | 61 63 68 65 22 0d 65 6e |u "TimeC|ache".en|
|00003f50| 61 62 6c 65 20 6d 65 6e | 75 20 47 6f 0d 65 6e 61 |able men|u Go.ena|
|00003f60| 62 6c 65 20 6d 65 6e 75 | 20 45 64 69 74 0d 65 6e |ble menu| Edit.en|
|00003f70| 61 62 6c 65 20 6d 65 6e | 75 20 46 69 6c 65 0d 69 |able men|u File.i|
|00003f80| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00003f90| 64 6f 77 20 22 73 65 63 | 74 4e 61 76 22 0d 74 68 |dow "sec|tNav".th|
|00003fa0| 65 6e 20 73 68 6f 77 20 | 77 69 6e 64 6f 77 20 22 |en show |window "|
|00003fb0| 73 65 63 74 4e 61 76 22 | 0d 73 65 74 20 74 68 65 |sectNav"|.set the|
|00003fc0| 20 73 63 72 6f 6c 6c 20 | 6f 66 20 66 6c 64 20 69 | scroll |of fld i|
|00003fd0| 64 20 36 39 20 74 6f 20 | 30 0d 73 65 74 20 74 68 |d 69 to |0.set th|
|00003fe0| 65 20 73 63 72 6f 6c 6c | 20 6f 66 20 66 6c 64 20 |e scroll| of fld |
|00003ff0| 69 64 20 37 30 20 74 6f | 20 30 0d 73 65 74 20 74 |id 70 to| 0.set t|
|00004000| 68 65 20 73 63 72 6f 6c | 6c 20 6f 66 20 66 6c 64 |he scrol|l of fld|
|00004010| 20 69 64 20 37 31 20 74 | 6f 20 30 0d 73 65 74 20 | id 71 t|o 0.set |
|00004020| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 66 6c |the scro|ll of fl|
|00004030| 64 20 69 64 20 37 32 20 | 74 6f 20 30 0d 70 6f 70 |d id 72 |to 0.pop|
|00004040| 20 63 64 0d 75 6e 6c 6f | 63 6b 20 53 63 72 65 65 | cd.unlo|ck Scree|
|00004050| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 65 66 |n with v|isual ef|
|00004060| 66 65 63 74 20 7a 6f 6f | 6d 20 69 6e 20 74 6f 20 |fect zoo|m in to |
|00004070| 63 61 72 64 0d 65 6e 64 | 20 68 69 64 65 48 65 6c |card.end| hideHel|
|00004080| 70 0d 0d 6f 6e 20 68 6f | 77 54 6f 48 65 6c 70 0d |p..on ho|wToHelp.|
|00004090| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 68 69 64 65 |lock scr|een.hide|
|000040a0| 20 66 6c 64 20 69 64 20 | 37 31 0d 68 69 64 65 20 | fld id |71.hide |
|000040b0| 66 6c 64 20 69 64 20 37 | 32 0d 73 68 6f 77 20 66 |fld id 7|2.show f|
|000040c0| 6c 64 20 69 64 20 36 39 | 0d 73 68 6f 77 20 66 6c |ld id 69|.show fl|
|000040d0| 64 20 69 64 20 37 30 0d | 73 65 74 20 74 68 65 20 |d id 70.|set the |
|000040e0| 6e 61 6d 65 20 6f 66 20 | 62 67 20 62 74 6e 20 69 |name of |bg btn i|
|000040f0| 64 20 37 33 20 74 6f 20 | 22 53 68 6f 77 20 d2 4d |d 73 to |"Show .M|
|00004100| 65 6e 75 d3 20 48 65 6c | 70 22 0d 65 6e 64 20 68 |enu. Hel|p".end h|
|00004110| 6f 77 54 6f 48 65 6c 70 | 0d 0d 6f 6e 20 6d 65 6e |owToHelp|..on men|
|00004120| 75 48 65 6c 70 0d 6c 6f | 63 6b 20 73 63 72 65 65 |uHelp.lo|ck scree|
|00004130| 6e 0d 68 69 64 65 20 66 | 6c 64 20 69 64 20 36 39 |n.hide f|ld id 69|
|00004140| 0d 68 69 64 65 20 66 6c | 64 20 69 64 20 37 30 0d |.hide fl|d id 70.|
|00004150| 73 68 6f 77 20 66 6c 64 | 20 69 64 20 37 31 0d 73 |show fld| id 71.s|
|00004160| 68 6f 77 20 66 6c 64 20 | 69 64 20 37 32 0d 73 65 |how fld |id 72.se|
|00004170| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 62 67 |t the na|me of bg|
|00004180| 20 62 74 6e 20 69 64 20 | 37 33 20 74 6f 20 22 53 | btn id |73 to "S|
|00004190| 68 6f 77 20 d2 48 6f 77 | 2d 74 6f d3 20 48 65 6c |how .How|-to. Hel|
|000041a0| 70 22 0d 65 6e 64 20 6d | 65 6e 75 48 65 6c 70 0d |p".end m|enuHelp.|
|000041b0| 0d 2d 2d 20 6f 6e 20 73 | 73 20 78 0d 2d 2d 20 65 |.-- on s|s x.-- e|
|000041c0| 78 69 74 20 73 73 0d 2d | 2d 20 65 6e 64 20 73 73 |xit ss.-|- end ss|
|000041d0| 0d 0d 2d 2d 20 6f 6e 20 | 73 65 61 72 63 68 53 63 |..-- on |searchSc|
|000041e0| 72 69 70 74 20 78 0d 2d | 2d 20 65 78 69 74 20 73 |ript x.-|- exit s|
|000041f0| 65 61 72 63 68 53 63 72 | 69 70 74 0d 2d 2d 20 65 |earchScr|ipt.-- e|
|00004200| 6e 64 20 73 65 61 72 63 | 68 53 63 72 69 70 74 0d |nd searc|hScript.|
|00004210| 0d 6f 6e 20 73 65 74 41 | 75 74 6f 0d 67 6c 6f 62 |.on setA|uto.glob|
|00004220| 61 6c 20 74 6b 50 72 65 | 66 73 0d 69 66 20 6c 69 |al tkPre|fs.if li|
|00004230| 6e 65 20 31 37 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 17 of| tkPrefs|
|00004240| 20 3d 20 22 22 20 74 68 | 65 6e 20 70 75 74 20 36 | = "" th|en put 6|
|00004250| 20 69 6e 74 6f 20 72 0d | 65 6c 73 65 20 70 75 74 | into r.|else put|
|00004260| 20 6c 69 6e 65 20 31 37 | 20 6f 66 20 74 6b 50 72 | line 17| of tkPr|
|00004270| 65 66 73 20 69 6e 74 6f | 20 72 0d 67 65 74 20 64 |efs into| r.get d|
|00004280| 6f 44 6c 6f 67 28 31 32 | 39 31 2c 22 41 75 74 6f |oDlog(12|91,"Auto|
|00004290| 6d 61 74 69 63 61 6c 6c | 79 20 63 72 65 61 74 65 |maticall|y create|
|000042a0| 20 44 61 69 6c 79 20 54 | 69 6d 65 73 68 65 65 74 | Daily T|imesheet|
|000042b0| 73 20 61 66 74 65 72 20 | 74 72 61 6e 73 66 65 72 |s after |transfer|
|000042c0| 72 69 6e 67 20 65 6e 74 | 72 69 65 73 3f 22 2c 2c |ring ent|ries?",,|
|000042d0| 2c 2c 72 29 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |,,r).if |line 1 o|
|000042e0| 66 20 69 74 20 3d 20 32 | 20 74 68 65 6e 20 65 78 |f it = 2| then ex|
|000042f0| 69 74 20 73 65 74 41 75 | 74 6f 0d 70 75 74 20 6c |it setAu|to.put l|
|00004300| 69 6e 65 20 32 20 6f 66 | 20 69 74 20 69 6e 74 6f |ine 2 of| it into|
|00004310| 20 6c 69 6e 65 20 31 37 | 20 6f 66 20 74 6b 50 72 | line 17| of tkPr|
|00004320| 65 66 73 0d 70 72 65 66 | 53 65 74 0d 65 6e 64 20 |efs.pref|Set.end |
|00004330| 73 65 74 41 75 74 6f 0d | 0d 6f 6e 20 65 78 70 6f |setAuto.|.on expo|
|00004340| 72 74 46 6f 72 6d 61 74 | 0d 67 6c 6f 62 61 6c 20 |rtFormat|.global |
|00004350| 74 6b 50 72 65 66 73 0d | 69 66 20 6c 69 6e 65 20 |tkPrefs.|if line |
|00004360| 31 32 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 |12 of tk|Prefs = |
|00004370| 22 22 20 74 68 65 6e 20 | 70 75 74 20 35 20 69 6e |"" then |put 5 in|
|00004380| 74 6f 20 72 0d 65 6c 73 | 65 20 70 75 74 20 6c 69 |to r.els|e put li|
|00004390| 6e 65 20 31 32 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 12 of| tkPrefs|
|000043a0| 20 69 6e 74 6f 20 72 0d | 67 65 74 20 64 6f 44 6c | into r.|get doDl|
|000043b0| 6f 67 28 31 32 39 35 2c | 22 53 65 6c 65 63 74 20 |og(1295,|"Select |
|000043c0| 61 20 66 6f 72 6d 61 74 | 20 66 6f 72 20 65 78 70 |a format| for exp|
|000043d0| 6f 72 74 65 64 20 4a 6f | 62 20 53 68 65 65 74 20 |orted Jo|b Sheet |
|000043e0| 72 65 70 6f 72 74 73 22 | 2c 22 22 2c 22 22 2c 22 |reports"|,"","","|
|000043f0| 22 2c 72 29 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |",r).if |line 1 o|
|00004400| 66 20 69 74 20 3d 20 32 | 20 74 68 65 6e 20 65 78 |f it = 2| then ex|
|00004410| 69 74 20 74 6f 20 68 79 | 70 65 72 63 61 72 64 0d |it to hy|percard.|
|00004420| 70 75 74 20 6c 69 6e 65 | 20 32 20 6f 66 20 69 74 |put line| 2 of it|
|00004430| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 31 32 20 6f 66 | into li|ne 12 of|
|00004440| 20 74 6b 50 72 65 66 73 | 0d 6a 6f 62 41 70 70 73 | tkPrefs|.jobApps|
|00004450| 0d 70 72 65 66 53 65 74 | 0d 65 6e 64 20 65 78 70 |.prefSet|.end exp|
|00004460| 6f 72 74 46 6f 72 6d 61 | 74 0d 0d 6f 6e 20 73 65 |ortForma|t..on se|
|00004470| 74 43 6f 6d 6d 65 6e 74 | 73 0d 67 6c 6f 62 61 6c |tComment|s.global|
|00004480| 20 74 6b 50 72 65 66 73 | 0d 69 66 20 6c 69 6e 65 | tkPrefs|.if line|
|00004490| 20 31 36 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d | 16 of t|kPrefs =|
|000044a0| 20 46 61 6c 73 65 20 6f | 72 20 6c 69 6e 65 20 31 | False o|r line 1|
|000044b0| 36 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 22 |6 of tkP|refs = "|
|000044c0| 22 20 74 68 65 6e 20 70 | 75 74 20 35 20 69 6e 74 |" then p|ut 5 int|
|000044d0| 6f 20 72 0d 65 6c 73 65 | 20 70 75 74 20 34 20 69 |o r.else| put 4 i|
|000044e0| 6e 74 6f 20 72 0d 67 65 | 74 20 64 6f 44 6c 6f 67 |nto r.ge|t doDlog|
|000044f0| 28 31 32 39 32 2c 22 55 | 73 65 20 6c 6f 6e 67 20 |(1292,"U|se long |
|00004500| 63 6f 6d 6d 65 6e 74 73 | 3f 22 2c 22 22 2c 22 22 |comments|?","",""|
|00004510| 2c 22 22 2c 72 29 0d 69 | 66 20 6c 69 6e 65 20 31 |,"",r).i|f line 1|
|00004520| 20 6f 66 20 69 74 20 3d | 20 32 20 74 68 65 6e 20 | of it =| 2 then |
|00004530| 65 78 69 74 20 73 65 74 | 43 6f 6d 6d 65 6e 74 73 |exit set|Comments|
|00004540| 0d 70 75 74 20 28 6c 69 | 6e 65 20 32 20 6f 66 20 |.put (li|ne 2 of |
|00004550| 69 74 20 3d 20 34 29 20 | 69 6e 74 6f 20 6c 69 6e |it = 4) |into lin|
|00004560| 65 20 31 36 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |e 16 of |tkPrefs.|
|00004570| 70 72 65 66 53 65 74 0d | 65 6e 64 20 73 65 74 43 |prefSet.|end setC|
|00004580| 6f 6d 6d 65 6e 74 73 0d | 0d 6f 6e 20 73 65 74 57 |omments.|.on setW|
|00004590| 6b 6e 64 73 0d 67 6c 6f | 62 61 6c 20 74 6b 50 72 |knds.glo|bal tkPr|
|000045a0| 65 66 73 0d 69 66 20 6c | 69 6e 65 20 31 34 20 6f |efs.if l|ine 14 o|
|000045b0| 66 20 74 6b 50 72 65 66 | 73 20 3d 20 22 54 72 75 |f tkPref|s = "Tru|
|000045c0| 65 22 20 74 68 65 6e 20 | 70 75 74 20 34 20 69 6e |e" then |put 4 in|
|000045d0| 74 6f 20 72 0d 65 6c 73 | 65 20 70 75 74 20 35 20 |to r.els|e put 5 |
|000045e0| 69 6e 74 6f 20 72 0d 67 | 65 74 20 64 6f 44 6c 6f |into r.g|et doDlo|
|000045f0| 67 28 31 32 39 32 2c 22 | 53 6b 69 70 20 77 65 65 |g(1292,"|Skip wee|
|00004600| 6b 65 6e 64 73 20 77 68 | 65 6e 20 70 72 6f 6d 70 |kends wh|en promp|
|00004610| 74 69 6e 67 20 66 6f 72 | 20 6e 65 78 74 20 64 61 |ting for| next da|
|00004620| 74 65 3f 22 2c 22 22 2c | 22 22 2c 22 22 2c 72 29 |te?","",|"","",r)|
|00004630| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 69 74 |.if line| 1 of it|
|00004640| 20 3d 20 32 20 74 68 65 | 6e 20 65 78 69 74 20 73 | = 2 the|n exit s|
|00004650| 65 74 57 6b 6e 64 73 0d | 70 75 74 20 28 6c 69 6e |etWknds.|put (lin|
|00004660| 65 20 32 20 6f 66 20 69 | 74 20 3d 20 34 29 20 69 |e 2 of i|t = 4) i|
|00004670| 6e 74 6f 20 6c 69 6e 65 | 20 31 34 20 6f 66 20 74 |nto line| 14 of t|
|00004680| 6b 50 72 65 66 73 0d 70 | 72 65 66 53 65 74 0d 65 |kPrefs.p|refSet.e|
|00004690| 6e 64 20 73 65 74 57 6b | 6e 64 73 0d 0d 6f 6e 20 |nd setWk|nds..on |
|000046a0| 73 65 74 4c 6f 67 67 69 | 6e 67 0d 67 6c 6f 62 61 |setLoggi|ng.globa|
|000046b0| 6c 20 74 6b 50 72 65 66 | 73 0d 69 66 20 6c 69 6e |l tkPref|s.if lin|
|000046c0| 65 20 33 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d |e 3 of t|kPrefs =|
|000046d0| 20 22 54 72 75 65 22 20 | 74 68 65 6e 20 70 75 74 | "True" |then put|
|000046e0| 20 34 20 69 6e 74 6f 20 | 72 0d 65 6c 73 65 20 70 | 4 into |r.else p|
|000046f0| 75 74 20 35 20 69 6e 74 | 6f 20 72 0d 67 65 74 20 |ut 5 int|o r.get |
|00004700| 64 6f 44 6c 6f 67 28 31 | 32 39 32 2c 22 41 64 64 |doDlog(1|292,"Add|
|00004710| 20 73 74 61 72 74 20 61 | 6e 64 20 73 74 6f 70 20 | start a|nd stop |
|00004720| 74 69 6d 65 73 20 74 6f | 20 6e 6f 74 65 73 20 77 |times to| notes w|
|00004730| 68 65 6e 20 75 73 69 6e | 67 20 74 69 6d 65 72 3f |hen usin|g timer?|
|00004740| 22 2c 22 22 2c 22 22 2c | 22 22 2c 72 29 0d 69 66 |","","",|"",r).if|
|00004750| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 3d 20 | line 1 |of it = |
|00004760| 32 20 74 68 65 6e 20 65 | 78 69 74 20 73 65 74 4c |2 then e|xit setL|
|00004770| 6f 67 67 69 6e 67 0d 70 | 75 74 20 28 6c 69 6e 65 |ogging.p|ut (line|
|00004780| 20 32 20 6f 66 20 69 74 | 20 3d 20 34 29 20 69 6e | 2 of it| = 4) in|
|00004790| 74 6f 20 6c 69 6e 65 20 | 33 20 6f 66 20 74 6b 50 |to line |3 of tkP|
|000047a0| 72 65 66 73 0d 70 72 65 | 66 53 65 74 0d 65 6e 64 |refs.pre|fSet.end|
|000047b0| 20 73 65 74 4c 6f 67 67 | 69 6e 67 0d 0d 6f 6e 20 | setLogg|ing..on |
|000047c0| 70 72 65 66 53 65 74 0d | 67 6c 6f 62 61 6c 20 74 |prefSet.|global t|
|000047d0| 6b 50 72 65 66 73 0d 70 | 75 74 20 74 6b 50 72 65 |kPrefs.p|ut tkPre|
|000047e0| 66 73 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 34 |fs into |fld id 4|
|000047f0| 38 20 6f 66 20 63 64 20 | 31 0d 65 6e 64 20 70 72 |8 of cd |1.end pr|
|00004800| 65 66 53 65 74 0d 0d 6f | 6e 20 63 6f 6d 6d 61 57 |efSet..o|n commaW|
|00004810| 61 72 6e 69 6e 67 0d 62 | 65 65 70 0d 73 64 41 6c |arning.b|eep.sdAl|
|00004820| 65 72 74 20 22 53 6f 72 | 72 79 21 20 43 61 6e d5 |ert "Sor|ry! Can.|
|00004830| 74 20 75 73 65 20 63 6f | 6d 6d 61 73 2e 20 50 6c |t use co|mmas. Pl|
|00004840| 65 61 73 65 20 74 72 79 | 20 61 67 61 69 6e 2e 22 |ease try| again."|
|00004850| 0d 65 6e 64 20 63 6f 6d | 6d 61 57 61 72 6e 69 6e |.end com|maWarnin|
|00004860| 67 0d 0d 6f 6e 20 68 69 | 64 65 54 4b 0d 67 6c 6f |g..on hi|deTK.glo|
|00004870| 62 61 6c 20 74 6b 50 72 | 65 66 73 0d 6c 6f 63 6b |bal tkPr|efs.lock|
|00004880| 20 73 63 72 65 65 6e 0d | 70 75 74 20 74 68 65 20 | screen.|put the |
|00004890| 6e 75 6d 62 65 72 20 6f | 66 20 6d 65 6e 75 49 74 |number o|f menuIt|
|000048a0| 65 6d 73 20 69 6e 20 6d | 65 6e 75 20 22 54 69 6d |ems in m|enu "Tim|
|000048b0| 65 43 61 63 68 65 22 20 | 69 6e 74 6f 20 69 0d 69 |eCache" |into i.i|
|000048c0| 66 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |f the vi|sible of|
|000048d0| 20 77 69 6e 64 6f 77 20 | 28 73 68 6f 72 74 20 6e | window |(short n|
|000048e0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|000048f0| 6b 29 20 3d 20 74 72 75 | 65 20 74 68 65 6e 0d 68 |k) = tru|e then.h|
|00004900| 69 64 65 20 77 69 6e 64 | 6f 77 20 28 73 68 6f 72 |ide wind|ow (shor|
|00004910| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |t name o|f this s|
|00004920| 74 61 63 6b 29 0d 73 65 | 74 20 74 68 65 20 63 68 |tack).se|t the ch|
|00004930| 65 63 6b 4d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckMark |of menuI|
|00004940| 74 65 6d 20 22 48 69 64 | 65 20 54 69 6d 65 43 61 |tem "Hid|e TimeCa|
|00004950| 63 68 65 22 20 6f 66 20 | 6d 65 6e 75 20 22 54 69 |che" of |menu "Ti|
|00004960| 6d 65 43 61 63 68 65 22 | 20 74 6f 20 74 72 75 65 |meCache"| to true|
|00004970| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 20 3d |.repeat |with x =|
|00004980| 20 33 20 74 6f 20 69 0d | 64 69 73 61 62 6c 65 20 | 3 to i.|disable |
|00004990| 6d 65 6e 75 49 74 65 6d | 20 78 20 6f 66 20 6d 65 |menuItem| x of me|
|000049a0| 6e 75 20 22 54 69 6d 65 | 43 61 63 68 65 22 0d 65 |nu "Time|Cache".e|
|000049b0| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 74 68 65 |nd repea|t.if the|
|000049c0| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 22 |re is a |window "|
|000049d0| 73 65 63 74 4e 61 76 22 | 0d 74 68 65 6e 20 68 69 |sectNav"|.then hi|
|000049e0| 64 65 20 77 69 6e 64 6f | 77 20 22 73 65 63 74 4e |de windo|w "sectN|
|000049f0| 61 76 22 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |av".disa|ble menu|
|00004a00| 20 47 6f 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 | Go.disa|ble menu|
|00004a10| 20 45 64 69 74 0d 64 69 | 73 61 62 6c 65 20 6d 65 | Edit.di|sable me|
|00004a20| 6e 75 20 46 69 6c 65 0d | 65 6c 73 65 0d 73 68 6f |nu File.|else.sho|
|00004a30| 77 20 77 69 6e 64 6f 77 | 20 73 68 6f 72 74 20 6e |w window| short n|
|00004a40| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00004a50| 6b 0d 73 65 74 20 74 68 | 65 20 63 68 65 63 6b 4d |k.set th|e checkM|
|00004a60| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00004a70| 22 48 69 64 65 20 54 69 | 6d 65 43 61 63 68 65 22 |"Hide Ti|meCache"|
|00004a80| 20 6f 66 20 6d 65 6e 75 | 20 22 54 69 6d 65 43 61 | of menu| "TimeCa|
|00004a90| 63 68 65 22 20 74 6f 20 | 66 61 6c 73 65 0d 72 65 |che" to |false.re|
|00004aa0| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 33 20 |peat wit|h x = 3 |
|00004ab0| 74 6f 20 69 0d 65 6e 61 | 62 6c 65 20 6d 65 6e 75 |to i.ena|ble menu|
|00004ac0| 49 74 65 6d 20 78 20 6f | 66 20 6d 65 6e 75 20 22 |Item x o|f menu "|
|00004ad0| 54 69 6d 65 43 61 63 68 | 65 22 0d 65 6e 64 20 72 |TimeCach|e".end r|
|00004ae0| 65 70 65 61 74 0d 65 6e | 61 62 6c 65 20 6d 65 6e |epeat.en|able men|
|00004af0| 75 20 47 6f 0d 65 6e 61 | 62 6c 65 20 6d 65 6e 75 |u Go.ena|ble menu|
|00004b00| 20 45 64 69 74 0d 65 6e | 61 62 6c 65 20 6d 65 6e | Edit.en|able men|
|00004b10| 75 20 46 69 6c 65 0d 69 | 66 20 74 68 65 72 65 20 |u File.i|f there |
|00004b20| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 73 65 63 |is a win|dow "sec|
|00004b30| 74 4e 61 76 22 0d 74 68 | 65 6e 20 73 68 6f 77 20 |tNav".th|en show |
|00004b40| 77 69 6e 64 6f 77 20 22 | 73 65 63 74 4e 61 76 22 |window "|sectNav"|
|00004b50| 0d 65 6e 64 20 69 66 0d | 75 6e 6c 6f 63 6b 20 73 |.end if.|unlock s|
|00004b60| 63 72 65 65 6e 0d 65 6e | 64 20 68 69 64 65 54 4b |creen.en|d hideTK|
|00004b70| 0d 0d 6f 6e 20 65 78 69 | 74 4d 6f 76 65 0d 67 6c |..on exi|tMove.gl|
|00004b80| 6f 62 61 6c 20 6d 6f 76 | 65 54 65 78 74 2c 63 6f |obal mov|eText,co|
|00004b90| 70 79 4d 6f 64 65 0d 70 | 75 74 20 66 61 6c 73 65 |pyMode.p|ut false|
|00004ba0| 20 69 6e 74 6f 20 63 6f | 70 79 4d 6f 64 65 0d 69 | into co|pyMode.i|
|00004bb0| 66 20 6d 6f 76 65 54 65 | 78 74 20 ad 20 22 22 20 |f moveTe|xt . "" |
|00004bc0| 74 68 65 6e 0d 70 75 74 | 20 22 43 61 6e 63 65 6c |then.put| "Cancel|
|00004bd0| 69 6e 67 20 6e 6f 77 20 | 77 69 6c 6c 20 64 65 6c |ing now |will del|
|00004be0| 65 74 65 20 74 68 65 20 | 6c 69 6e 65 20 79 6f 75 |ete the |line you|
|00004bf0| 20 73 65 6c 65 63 74 65 | 64 2e 20 52 65 73 74 6f | selecte|d. Resto|
|00004c00| 72 65 20 22 20 26 c2 0d | 22 74 68 65 20 6c 69 6e |re " &..|"the lin|
|00004c10| 65 3f 22 20 69 6e 74 6f | 20 70 72 6f 6d 70 74 0d |e?" into| prompt.|
|00004c20| 62 65 65 70 0d 67 65 74 | 20 64 6f 44 6c 6f 67 28 |beep.get| doDlog(|
|00004c30| 31 33 30 35 2c 70 72 6f | 6d 70 74 29 0d 69 66 20 |1305,pro|mpt).if |
|00004c40| 69 74 20 3d 20 31 20 74 | 68 65 6e 20 72 65 73 74 |it = 1 t|hen rest|
|00004c50| 6f 72 65 4d 6f 76 65 0d | 65 6e 64 20 69 66 0d 65 |oreMove.|end if.e|
|00004c60| 6e 61 62 6c 65 20 6d 65 | 6e 75 20 22 46 69 6c 65 |nable me|nu "File|
|00004c70| 22 0d 65 6e 61 62 6c 65 | 20 6d 65 6e 75 20 22 54 |".enable| menu "T|
|00004c80| 69 6d 65 43 61 63 68 65 | 22 0d 65 6e 61 62 6c 65 |imeCache|".enable|
|00004c90| 20 6d 65 6e 75 20 22 47 | 6f 22 0d 63 6c 6f 73 65 | menu "G|o".close|
|00004ca0| 4d 6f 76 65 57 69 6e 64 | 6f 77 73 0d 65 6e 64 20 |MoveWind|ows.end |
|00004cb0| 65 78 69 74 4d 6f 76 65 | 0d 0d 6f 6e 20 72 65 73 |exitMove|..on res|
|00004cc0| 74 6f 72 65 4d 6f 76 65 | 0d 67 6c 6f 62 61 6c 20 |toreMove|.global |
|00004cd0| 74 43 64 2c 62 2c 6d 6f | 76 65 54 65 78 74 2c 70 |tCd,b,mo|veText,p|
|00004ce0| 61 73 74 65 4d 6f 64 65 | 0d 73 65 74 20 63 75 72 |asteMode|.set cur|
|00004cf0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 6c 6f 63 |sor to w|atch.loc|
|00004d00| 6b 20 73 63 72 65 65 6e | 0d 73 65 74 20 6c 6f 63 |k screen|.set loc|
|00004d10| 6b 4d 65 73 73 61 67 65 | 73 20 74 6f 20 74 72 75 |kMessage|s to tru|
|00004d20| 65 0d 69 66 20 62 20 3e | 20 31 20 74 68 65 6e 0d |e.if b >| 1 then.|
|00004d30| 70 75 74 20 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |put retu|rn into |
|00004d40| 67 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 68 0d |g.put ""| into h.|
|00004d50| 65 6c 73 65 0d 70 75 74 | 20 32 20 69 6e 74 6f 20 |else.put| 2 into |
|00004d60| 62 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 67 0d |b.put ""| into g.|
|00004d70| 70 75 74 20 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |put retu|rn into |
|00004d80| 68 0d 65 6e 64 20 69 66 | 0d 72 65 70 65 61 74 20 |h.end if|.repeat |
|00004d90| 77 69 74 68 20 78 20 3d | 20 31 20 74 6f 20 35 0d |with x =| 1 to 5.|
|00004da0| 70 75 74 20 67 20 26 20 | 6c 69 6e 65 20 78 20 6f |put g & |line x o|
|00004db0| 66 20 6d 6f 76 65 54 65 | 78 74 20 26 20 68 20 69 |f moveTe|xt & h i|
|00004dc0| 6e 74 6f 20 72 65 73 74 | 6f 72 65 54 65 78 74 0d |nto rest|oreText.|
|00004dd0| 70 75 74 20 72 65 73 74 | 6f 72 65 54 65 78 74 20 |put rest|oreText |
|00004de0| 61 66 74 65 72 20 6c 69 | 6e 65 20 28 62 20 2d 20 |after li|ne (b - |
|00004df0| 31 29 20 6f 66 20 66 6c | 64 20 78 20 6f 66 20 63 |1) of fl|d x of c|
|00004e00| 64 20 74 43 64 0d 65 6e | 64 20 72 65 70 65 61 74 |d tCd.en|d repeat|
|00004e10| 0d 73 75 6d 48 6f 75 72 | 73 20 74 43 64 0d 73 65 |.sumHour|s tCd.se|
|00004e20| 74 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |t lockMe|ssages t|
|00004e30| 6f 20 66 61 6c 73 65 0d | 67 6f 20 63 64 20 74 43 |o false.|go cd tC|
|00004e40| 64 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 6d 6f |d.put ""| into mo|
|00004e50| 76 65 54 65 78 74 0d 70 | 75 74 20 66 61 6c 73 65 |veText.p|ut false|
|00004e60| 20 69 6e 74 6f 20 70 61 | 73 74 65 4d 6f 64 65 0d | into pa|steMode.|
|00004e70| 63 6c 6f 73 65 4d 6f 76 | 65 57 69 6e 64 6f 77 73 |closeMov|eWindows|
|00004e80| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |.unlock |screen.e|
|00004e90| 6e 64 20 72 65 73 74 6f | 72 65 4d 6f 76 65 0d 0d |nd resto|reMove..|
|00004ea0| 6f 6e 20 6d 6f 76 65 4c | 69 6e 65 0d 67 6c 6f 62 |on moveL|ine.glob|
|00004eb0| 61 6c 20 63 6f 70 79 4d | 6f 64 65 0d 73 65 74 20 |al copyM|ode.set |
|00004ec0| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00004ed0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 61 6c 65 |lock scr|een.pale|
|00004ee0| 74 74 65 20 73 74 61 72 | 74 4d 6f 76 65 2c 22 32 |tte star|tMove,"2|
|00004ef0| 34 32 2c 32 34 32 22 0d | 70 75 74 20 74 72 75 65 |42,242".|put true|
|00004f00| 20 69 6e 74 6f 20 63 6f | 70 79 4d 6f 64 65 0d 62 | into co|pyMode.b|
|00004f10| 65 65 70 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |eep.disa|ble menu|
|00004f20| 20 22 46 69 6c 65 22 0d | 64 69 73 61 62 6c 65 20 | "File".|disable |
|00004f30| 6d 65 6e 75 20 22 47 6f | 22 0d 64 69 73 61 62 6c |menu "Go|".disabl|
|00004f40| 65 20 6d 65 6e 75 20 22 | 54 69 6d 65 43 61 63 68 |e menu "|TimeCach|
|00004f50| 65 22 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |e".unloc|k screen|
|00004f60| 0d 65 6e 64 20 6d 6f 76 | 65 4c 69 6e 65 0d 0d 6f |.end mov|eLine..o|
|00004f70| 6e 20 64 6f 4d 6f 76 65 | 0d 67 6c 6f 62 61 6c 20 |n doMove|.global |
|00004f80| 70 61 73 74 65 4d 6f 64 | 65 2c 6d 6f 76 65 54 65 |pasteMod|e,moveTe|
|00004f90| 78 74 2c 62 2c 63 64 4e | 61 6d 65 0d 73 65 74 20 |xt,b,cdN|ame.set |
|00004fa0| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00004fb0| 69 66 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |if the s|hort id |
|00004fc0| 6f 66 20 74 68 69 73 20 | 62 67 20 ad 20 35 34 34 |of this |bg . 544|
|00004fd0| 39 20 74 68 65 6e 0d 62 | 65 65 70 0d 73 64 41 6c |9 then.b|eep.sdAl|
|00004fe0| 65 72 74 20 22 59 6f 75 | 20 63 61 6e 20 6f 6e 6c |ert "You| can onl|
|00004ff0| 79 20 61 64 64 20 74 68 | 69 73 20 64 61 74 61 20 |y add th|is data |
|00005000| 74 6f 20 61 20 4a 6f 62 | 20 53 68 65 65 74 2e 20 |to a Job| Sheet. |
|00005010| 53 74 61 72 74 20 61 67 | 61 69 6e 2e 22 0d 72 65 |Start ag|ain.".re|
|00005020| 73 74 6f 72 65 4d 6f 76 | 65 0d 65 6e 64 20 69 66 |storeMov|e.end if|
|00005030| 0d 69 66 20 70 61 73 74 | 65 4d 6f 64 65 20 3d 20 |.if past|eMode = |
|00005040| 74 72 75 65 20 61 6e 64 | 20 6d 6f 76 65 54 65 78 |true and| moveTex|
|00005050| 74 20 ad 20 22 22 20 74 | 68 65 6e 0d 70 75 74 20 |t . "" t|hen.put |
|00005060| 31 20 2b 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |1 + the |number o|
|00005070| 66 20 6c 69 6e 65 73 20 | 69 6e 20 66 6c 64 20 69 |f lines |in fld i|
|00005080| 64 20 32 20 69 6e 74 6f | 20 6e 0d 69 66 20 6e 20 |d 2 into| n.if n |
|00005090| 3e 20 31 20 74 68 65 6e | 20 70 75 74 20 72 65 74 |> 1 then| put ret|
|000050a0| 75 72 6e 20 69 6e 74 6f | 20 67 0d 65 6c 73 65 20 |urn into| g.else |
|000050b0| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 67 0d 6c 6f |put "" i|nto g.lo|
|000050c0| 63 6b 20 73 63 72 65 65 | 6e 0d 72 65 70 65 61 74 |ck scree|n.repeat|
|000050d0| 20 77 69 74 68 20 78 20 | 3d 20 31 20 74 6f 20 35 | with x |= 1 to 5|
|000050e0| 0d 70 75 74 20 6c 69 6e | 65 20 78 20 6f 66 20 6d |.put lin|e x of m|
|000050f0| 6f 76 65 54 65 78 74 20 | 26 20 67 20 69 6e 74 6f |oveText |& g into|
|00005100| 20 6c 69 6e 65 20 6e 20 | 6f 66 20 66 6c 64 20 78 | line n |of fld x|
|00005110| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00005120| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00005130| 66 20 74 68 69 73 20 63 | 64 20 69 6e 74 6f 20 74 |f this c|d into t|
|00005140| 43 64 0d 73 75 6d 48 6f | 75 72 73 20 74 43 64 0d |Cd.sumHo|urs tCd.|
|00005150| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 70 75 |unlock s|creen.pu|
|00005160| 74 20 22 22 20 69 6e 74 | 6f 20 6d 6f 76 65 54 65 |t "" int|o moveTe|
|00005170| 78 74 0d 65 6e 64 20 69 | 66 0d 65 78 69 74 4d 6f |xt.end i|f.exitMo|
|00005180| 76 65 0d 65 6e 64 20 64 | 6f 4d 6f 76 65 0d 0d 6f |ve.end d|oMove..o|
|00005190| 6e 20 63 6c 6f 73 65 4d | 6f 76 65 57 69 6e 64 6f |n closeM|oveWindo|
|000051a0| 77 73 0d 67 6c 6f 62 61 | 6c 20 6d 6f 76 65 54 65 |ws.globa|l moveTe|
|000051b0| 78 74 2c 70 61 73 74 65 | 4d 6f 64 65 0d 73 65 74 |xt,paste|Mode.set|
|000051c0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000051d0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|000051e0| 63 6f 70 79 4d 6f 64 65 | 0d 70 75 74 20 66 61 6c |copyMode|.put fal|
|000051f0| 73 65 20 69 6e 74 6f 20 | 70 61 73 74 65 4d 6f 64 |se into |pasteMod|
|00005200| 65 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 6d 6f |e.put ""| into mo|
|00005210| 76 65 54 65 78 74 0d 69 | 66 20 74 68 65 72 65 20 |veText.i|f there |
|00005220| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 73 74 61 |is a win|dow "sta|
|00005230| 72 74 4d 6f 76 65 22 20 | 74 68 65 6e 20 63 6c 6f |rtMove" |then clo|
|00005240| 73 65 20 77 69 6e 64 6f | 77 20 22 73 74 61 72 74 |se windo|w "start|
|00005250| 4d 6f 76 65 22 0d 69 66 | 20 74 68 65 72 65 20 69 |Move".if| there i|
|00005260| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 64 6f 4d 6f |s a wind|ow "doMo|
|00005270| 76 65 22 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |ve" then| close w|
|00005280| 69 6e 64 6f 77 20 22 64 | 6f 4d 6f 76 65 22 0d 65 |indow "d|oMove".e|
|00005290| 6e 64 20 63 6c 6f 73 65 | 4d 6f 76 65 57 69 6e 64 |nd close|MoveWind|
|000052a0| 6f 77 73 0d 0d 6f 6e 20 | 67 6f 4e 65 78 74 0d 67 |ows..on |goNext.g|
|000052b0| 6c 6f 62 61 6c 20 70 61 | 6c 48 69 0d 69 66 20 74 |lobal pa|lHi.if t|
|000052c0| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|000052d0| 20 22 73 65 63 74 4e 61 | 76 22 0d 74 68 65 6e 20 | "sectNa|v".then |
|000052e0| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 64 42 |set the |hilitedB|
|000052f0| 75 74 74 6f 6e 20 6f 66 | 20 77 69 6e 64 6f 77 20 |utton of| window |
|00005300| 22 73 65 63 74 4e 61 76 | 22 20 74 6f 20 70 61 6c |"sectNav|" to pal|
|00005310| 48 69 0d 67 6f 20 6e 65 | 78 74 20 63 64 20 6f 66 |Hi.go ne|xt cd of|
|00005320| 20 74 68 69 73 20 62 67 | 0d 65 6e 64 20 67 6f 4e | this bg|.end goN|
|00005330| 65 78 74 0d 0d 6f 6e 20 | 67 6f 50 72 65 76 0d 67 |ext..on |goPrev.g|
|00005340| 6c 6f 62 61 6c 20 70 61 | 6c 48 69 0d 69 66 20 74 |lobal pa|lHi.if t|
|00005350| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00005360| 20 22 73 65 63 74 4e 61 | 76 22 0d 74 68 65 6e 20 | "sectNa|v".then |
|00005370| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 64 42 |set the |hilitedB|
|00005380| 75 74 74 6f 6e 20 6f 66 | 20 77 69 6e 64 6f 77 20 |utton of| window |
|00005390| 22 73 65 63 74 4e 61 76 | 22 20 74 6f 20 70 61 6c |"sectNav|" to pal|
|000053a0| 48 69 0d 67 6f 20 70 72 | 65 76 20 63 64 20 6f 66 |Hi.go pr|ev cd of|
|000053b0| 20 74 68 69 73 20 62 67 | 0d 65 6e 64 20 67 6f 50 | this bg|.end goP|
|000053c0| 72 65 76 0d 0d 6f 6e 20 | 63 6c 6f 73 65 50 61 6c |rev..on |closePal|
|000053d0| 65 74 74 65 20 78 0d 67 | 6c 6f 62 61 6c 20 63 6f |ette x.g|lobal co|
|000053e0| 70 79 4d 6f 64 65 2c 70 | 61 73 74 65 4d 6f 64 65 |pyMode,p|asteMode|
|000053f0| 2c 74 6b 50 72 65 66 73 | 0d 69 66 20 78 20 3d 20 |,tkPrefs|.if x = |
|00005400| 73 74 61 72 74 4d 6f 76 | 65 20 61 6e 64 20 63 6f |startMov|e and co|
|00005410| 70 79 4d 6f 64 65 20 3d | 20 74 72 75 65 20 74 68 |pyMode =| true th|
|00005420| 65 6e 20 70 61 6c 65 74 | 74 65 20 73 74 61 72 74 |en palet|te start|
|00005430| 4d 6f 76 65 0d 69 66 20 | 78 20 3d 20 64 6f 4d 6f |Move.if |x = doMo|
|00005440| 76 65 20 61 6e 64 20 70 | 61 73 74 65 4d 6f 64 65 |ve and p|asteMode|
|00005450| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 20 70 61 6c | = true |then pal|
|00005460| 65 74 74 65 20 64 6f 4d | 6f 76 65 0d 69 66 20 78 |ette doM|ove.if x|
|00005470| 20 3d 20 22 73 65 63 74 | 4e 61 76 22 20 74 68 65 | = "sect|Nav" the|
|00005480| 6e 0d 70 75 74 20 74 68 | 65 20 74 6f 70 4c 65 66 |n.put th|e topLef|
|00005490| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 22 73 65 63 |t of win|dow "sec|
|000054a0| 74 4e 61 76 22 20 69 6e | 74 6f 20 6c 69 6e 65 20 |tNav" in|to line |
|000054b0| 32 33 20 6f 66 20 74 6b | 50 72 65 66 73 0d 70 75 |23 of tk|Prefs.pu|
|000054c0| 74 20 22 53 68 6f 77 22 | 20 69 6e 74 6f 20 6c 69 |t "Show"| into li|
|000054d0| 6e 65 20 32 32 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 22 of| tkPrefs|
|000054e0| 0d 70 75 74 20 22 53 68 | 6f 77 20 4e 61 76 69 67 |.put "Sh|ow Navig|
|000054f0| 61 74 6f 72 22 20 69 6e | 74 6f 20 6d 65 6e 75 49 |ator" in|to menuI|
|00005500| 74 65 6d 20 31 32 20 6f | 66 20 6d 65 6e 75 20 47 |tem 12 o|f menu G|
|00005510| 6f 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 63 6c 6f |o.end if|.end clo|
|00005520| 73 65 50 61 6c 65 74 74 | 65 0d 0d 66 75 6e 63 74 |sePalett|e..funct|
|00005530| 69 6f 6e 20 69 74 65 6d | 46 69 6e 64 20 77 68 61 |ion item|Find wha|
|00005540| 74 2c 77 68 65 72 65 2c | 68 6f 77 0d 70 75 74 20 |t,where,|how.put |
|00005550| 31 20 69 6e 74 6f 20 73 | 74 61 72 74 4f 66 66 73 |1 into s|tartOffs|
|00005560| 65 74 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 61 64 |et.put 0| into ad|
|00005570| 64 65 72 0d 72 65 70 65 | 61 74 0d 70 75 74 20 6f |der.repe|at.put o|
|00005580| 66 66 73 65 74 28 77 68 | 61 74 2c 63 68 61 72 20 |ffset(wh|at,char |
|00005590| 73 74 61 72 74 4f 66 66 | 73 65 74 20 74 6f 20 6c |startOff|set to l|
|000055a0| 65 6e 67 74 68 28 77 68 | 65 72 65 29 20 6f 66 20 |ength(wh|ere) of |
|000055b0| 77 68 65 72 65 29 20 69 | 6e 74 6f 20 73 74 61 72 |where) i|nto star|
|000055c0| 74 4f 66 66 73 65 74 0d | 69 66 20 73 74 61 72 74 |tOffset.|if start|
|000055d0| 4f 66 66 73 65 74 20 3d | 20 30 20 74 68 65 6e 20 |Offset =| 0 then |
|000055e0| 72 65 74 75 72 6e 20 30 | 0d 61 64 64 20 73 74 61 |return 0|.add sta|
|000055f0| 72 74 4f 66 66 73 65 74 | 20 74 6f 20 61 64 64 65 |rtOffset| to adde|
|00005600| 72 0d 67 65 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |r.get th|e number|
|00005610| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 63 68 61 | of line|s in cha|
|00005620| 72 20 31 20 74 6f 20 61 | 64 64 65 72 20 6f 66 20 |r 1 to a|dder of |
|00005630| 77 68 65 72 65 0d 69 66 | 20 77 68 61 74 20 3d 20 |where.if| what = |
|00005640| 69 74 65 6d 20 68 6f 77 | 20 6f 66 20 6c 69 6e 65 |item how| of line|
|00005650| 20 69 74 20 6f 66 20 77 | 68 65 72 65 20 74 68 65 | it of w|here the|
|00005660| 6e 20 72 65 74 75 72 6e | 20 69 74 0d 70 75 74 20 |n return| it.put |
|00005670| 61 64 64 65 72 2b 31 20 | 69 6e 74 6f 20 73 74 61 |adder+1 |into sta|
|00005680| 72 74 4f 66 66 73 65 74 | 0d 65 6e 64 20 72 65 70 |rtOffset|.end rep|
|00005690| 65 61 74 0d 65 6e 64 20 | 69 74 65 6d 46 69 6e 64 |eat.end |itemFind|
|000056a0| 0d 0d 6f 6e 20 73 75 6d | 48 6f 75 72 73 20 74 43 |..on sum|Hours tC|
|000056b0| 64 0d 67 6c 6f 62 61 6c | 20 74 6b 50 72 65 66 73 |d.global| tkPrefs|
|000056c0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 74 |.lock sc|reen.put|
|000056d0| 20 66 6c 64 20 69 64 20 | 35 20 6f 66 20 63 64 20 | fld id |5 of cd |
|000056e0| 74 43 64 20 69 6e 74 6f | 20 63 68 61 72 67 65 73 |tCd into| charges|
|000056f0| 0d 70 75 74 20 66 6c 64 | 20 69 64 20 36 20 6f 66 |.put fld| id 6 of|
|00005700| 20 63 64 20 74 43 64 20 | 69 6e 74 6f 20 68 6f 75 | cd tCd |into hou|
|00005710| 72 73 0d 70 75 74 20 28 | 73 75 6d 49 74 28 64 65 |rs.put (|sumIt(de|
|00005720| 43 6f 6d 6d 61 28 63 68 | 61 72 67 65 73 29 29 29 |Comma(ch|arges)))|
|00005730| 20 69 6e 74 6f 20 6e 0d | 70 75 74 20 63 75 72 72 | into n.|put curr|
|00005740| 65 6e 63 79 46 6f 72 6d | 61 74 28 63 68 61 72 67 |encyForm|at(charg|
|00005750| 65 46 6f 72 6d 61 74 28 | 6e 29 29 20 69 6e 74 6f |eFormat(|n)) into|
|00005760| 20 66 6c 64 20 69 64 20 | 31 31 20 6f 66 20 63 64 | fld id |11 of cd|
|00005770| 20 74 43 64 0d 70 75 74 | 20 6e 75 6d 46 6f 72 6d | tCd.put| numForm|
|00005780| 61 74 28 73 75 6d 49 74 | 28 68 6f 75 72 73 29 2c |at(sumIt|(hours),|
|00005790| 32 29 20 26 20 22 20 68 | 72 73 2e 22 20 69 6e 74 |2) & " h|rs." int|
|000057a0| 6f 20 66 6c 64 20 69 64 | 20 34 35 20 6f 66 20 63 |o fld id| 45 of c|
|000057b0| 64 20 74 43 64 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |d tCd.un|lock scr|
|000057c0| 65 65 6e 0d 65 6e 64 20 | 73 75 6d 48 6f 75 72 73 |een.end |sumHours|
|000057d0| 0d 0d 6f 6e 20 61 70 70 | 6c 79 52 61 74 65 73 0d |..on app|lyRates.|
|000057e0| 67 6c 6f 62 61 6c 20 78 | 4c 69 6e 65 0d 70 75 74 |global x|Line.put|
|000057f0| 20 22 43 6f 6e 76 65 72 | 74 20 61 6c 6c 20 4a 6f | "Conver|t all Jo|
|00005800| 62 20 53 68 65 65 74 20 | 65 6e 74 72 69 65 73 20 |b Sheet |entries |
|00005810| 74 6f 20 63 75 72 72 65 | 6e 74 20 72 61 74 65 73 |to curre|nt rates|
|00005820| 3f 20 28 54 68 69 73 20 | 63 6f 75 6c 64 20 74 61 |? (This |could ta|
|00005830| 6b 65 20 61 20 77 68 69 | 6c 65 2e 29 22 20 69 6e |ke a whi|le.)" in|
|00005840| 74 6f 20 70 72 6f 6d 70 | 74 0d 67 65 74 20 64 6f |to promp|t.get do|
|00005850| 44 6c 6f 67 28 32 36 31 | 39 2c 70 72 6f 6d 70 74 |Dlog(261|9,prompt|
|00005860| 29 0d 69 66 20 69 74 20 | 3d 20 32 20 74 68 65 6e |).if it |= 2 then|
|00005870| 20 65 78 69 74 20 61 70 | 70 6c 79 52 61 74 65 73 | exit ap|plyRates|
|00005880| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00005890| 61 74 63 68 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |atch.loc|k screen|
|000058a0| 0d 67 6f 20 63 64 20 31 | 20 6f 66 20 62 67 20 69 |.go cd 1| of bg i|
|000058b0| 64 20 35 34 34 39 0d 72 | 65 70 65 61 74 20 77 69 |d 5449.r|epeat wi|
|000058c0| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th x = 1| to the |
|000058d0| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 73 20 69 6e |number o|f cds in|
|000058e0| 20 74 68 69 73 20 62 67 | 0d 72 65 70 65 61 74 20 | this bg|.repeat |
|000058f0| 77 69 74 68 20 78 4c 69 | 6e 65 20 3d 20 31 20 74 |with xLi|ne = 1 t|
|00005900| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00005910| 6c 69 6e 65 73 20 69 6e | 20 66 6c 64 20 69 64 20 |lines in| fld id |
|00005920| 33 0d 72 65 63 68 61 72 | 67 65 0d 65 6e 64 20 72 |3.rechar|ge.end r|
|00005930| 65 70 65 61 74 0d 67 6f | 20 6e 65 78 74 20 63 64 |epeat.go| next cd|
|00005940| 20 6f 66 20 74 68 69 73 | 20 62 67 0d 65 6e 64 20 | of this| bg.end |
|00005950| 72 65 70 65 61 74 0d 67 | 6f 20 63 64 20 31 0d 75 |repeat.g|o cd 1.u|
|00005960| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 62 65 65 |nlock sc|reen.bee|
|00005970| 70 0d 65 6e 64 20 61 70 | 70 6c 79 52 61 74 65 73 |p.end ap|plyRates|
|00005980| 0d 0d 6f 6e 20 72 65 43 | 68 61 72 67 65 0d 67 6c |..on reC|harge.gl|
|00005990| 6f 62 61 6c 20 78 4c 69 | 6e 65 2c 74 6b 50 72 65 |obal xLi|ne,tkPre|
|000059a0| 66 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |fs.set c|ursor to|
|000059b0| 20 77 61 74 63 68 0d 6c | 6f 63 6b 20 73 63 72 65 | watch.l|ock scre|
|000059c0| 65 6e 0d 67 65 74 20 69 | 74 65 6d 46 69 6e 64 28 |en.get i|temFind(|
|000059d0| 6c 69 6e 65 20 78 4c 69 | 6e 65 20 6f 66 20 66 6c |line xLi|ne of fl|
|000059e0| 64 20 69 64 20 33 20 26 | 22 20 22 2c 28 66 6c 64 |d id 3 &|" ",(fld|
|000059f0| 20 69 64 20 31 30 20 6f | 66 20 63 64 20 31 29 2c | id 10 o|f cd 1),|
|00005a00| 31 29 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |1).put i|tem 2 of|
|00005a10| 20 6c 69 6e 65 20 69 74 | 20 6f 66 20 66 6c 64 20 | line it| of fld |
|00005a20| 69 64 20 31 30 20 6f 66 | 20 63 64 20 31 20 69 6e |id 10 of| cd 1 in|
|00005a30| 74 6f 20 67 0d 69 66 20 | 67 20 ad 20 22 22 20 74 |to g.if |g . "" t|
|00005a40| 68 65 6e 0d 70 75 74 20 | 28 67 20 2a 20 6c 69 6e |hen.put |(g * lin|
|00005a50| 65 20 78 4c 69 6e 65 20 | 6f 66 20 66 6c 64 20 69 |e xLine |of fld i|
|00005a60| 64 20 36 29 20 69 6e 74 | 6f 20 6e 0d 67 65 74 20 |d 6) int|o n.get |
|00005a70| 6c 69 6e 65 20 32 34 20 | 6f 66 20 74 6b 70 72 65 |line 24 |of tkpre|
|00005a80| 66 73 0d 70 75 74 20 63 | 68 61 72 67 65 46 6f 72 |fs.put c|hargeFor|
|00005a90| 6d 61 74 28 64 65 43 6f | 6d 6d 61 28 6e 29 29 20 |mat(deCo|mma(n)) |
|00005aa0| 69 6e 74 6f 20 6e 0d 70 | 75 74 20 6e 20 69 6e 74 |into n.p|ut n int|
|00005ab0| 6f 20 6c 69 6e 65 20 78 | 4c 69 6e 65 20 6f 66 20 |o line x|Line of |
|00005ac0| 66 6c 64 20 69 64 20 35 | 0d 70 75 74 20 74 68 65 |fld id 5|.put the|
|00005ad0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00005ae0| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 74 43 64 0d |his cd i|nto tCd.|
|00005af0| 73 75 6d 48 6f 75 72 73 | 20 74 43 64 0d 65 6e 64 |sumHours| tCd.end|
|00005b00| 20 69 66 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 | if.unlo|ck scree|
|00005b10| 6e 0d 65 6e 64 20 72 65 | 43 68 61 72 67 65 0d 0d |n.end re|Charge..|
|00005b20| 6f 6e 20 6f 70 65 6e 43 | 61 72 64 0d 73 65 74 20 |on openC|ard.set |
|00005b30| 74 68 65 20 64 6f 6e 74 | 53 65 61 72 63 68 20 6f |the dont|Search o|
|00005b40| 66 20 74 68 69 73 20 63 | 61 72 64 20 74 6f 20 74 |f this c|ard to t|
|00005b50| 72 75 65 0d 70 61 73 73 | 20 6f 70 65 6e 43 61 72 |rue.pass| openCar|
|00005b60| 64 0d 65 6e 64 20 6f 70 | 65 6e 43 61 72 64 0d 0d |d.end op|enCard..|
|00005b70| 6f 6e 20 63 6c 6f 73 65 | 43 61 72 64 0d 73 65 74 |on close|Card.set|
|00005b80| 20 74 68 65 20 64 6f 6e | 74 53 65 61 72 63 68 20 | the don|tSearch |
|00005b90| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 74 6f 20 |of this |card to |
|00005ba0| 66 61 6c 73 65 0d 70 61 | 73 73 20 63 6c 6f 73 65 |false.pa|ss close|
|00005bb0| 43 61 72 64 0d 65 6e 64 | 20 63 6c 6f 73 65 43 61 |Card.end| closeCa|
|00005bc0| 72 64 0d 0d 6f 6e 20 64 | 6f 46 69 6e 64 0d 67 6c |rd..on d|oFind.gl|
|00005bd0| 6f 62 61 6c 20 66 69 6e | 64 53 74 72 69 6e 67 2c |obal fin|dString,|
|00005be0| 66 69 6e 64 4d 73 67 0d | 70 75 74 20 22 57 68 61 |findMsg.|put "Wha|
|00005bf0| 74 20 64 6f 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |t do you| want to|
|00005c00| 20 66 69 6e 64 3f 22 69 | 6e 74 6f 20 70 72 6f 6d | find?"i|nto prom|
|00005c10| 70 74 0d 67 65 74 20 64 | 6f 44 6c 6f 67 28 35 36 |pt.get d|oDlog(56|
|00005c20| 33 39 2c 70 72 6f 6d 70 | 74 2c 22 22 2c 66 69 6e |39,promp|t,"",fin|
|00005c30| 64 53 74 72 69 6e 67 29 | 0d 69 66 20 6c 69 6e 65 |dString)|.if line|
|00005c40| 20 31 20 6f 66 20 69 74 | 20 3d 20 32 20 6f 72 20 | 1 of it| = 2 or |
|00005c50| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 20 3d 20 22 |line 2 o|f it = "|
|00005c60| 22 20 74 68 65 6e 20 65 | 78 69 74 20 64 6f 46 69 |" then e|xit doFi|
|00005c70| 6e 64 0d 70 75 74 20 6c | 69 6e 65 20 32 20 6f 66 |nd.put l|ine 2 of|
|00005c80| 20 69 74 20 69 6e 74 6f | 20 66 69 6e 64 53 74 72 | it into| findStr|
|00005c90| 69 6e 67 0d 70 75 74 20 | 22 66 69 6e 64 20 77 68 |ing.put |"find wh|
|00005ca0| 6f 6c 65 22 20 26 26 20 | 71 75 6f 74 65 20 26 20 |ole" && |quote & |
|00005cb0| 66 69 6e 64 53 74 72 69 | 6e 67 20 26 20 71 75 6f |findStri|ng & quo|
|00005cc0| 74 65 20 69 6e 74 6f 20 | 66 69 6e 64 4d 73 67 0d |te into |findMsg.|
|00005cd0| 73 65 74 20 74 68 65 20 | 64 6f 6e 74 53 65 61 72 |set the |dontSear|
|00005ce0| 63 68 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |ch of th|is card |
|00005cf0| 74 6f 20 66 61 6c 73 65 | 0d 73 65 6e 64 20 66 69 |to false|.send fi|
|00005d00| 6e 64 4d 73 67 20 74 6f | 20 48 79 70 65 72 43 61 |ndMsg to| HyperCa|
|00005d10| 72 64 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |rd.if th|e result|
|00005d20| 20 3d 20 22 22 20 74 68 | 65 6e 20 65 6e 61 62 6c | = "" th|en enabl|
|00005d30| 65 20 6d 65 6e 75 49 74 | 65 6d 20 37 20 6f 66 20 |e menuIt|em 7 of |
|00005d40| 6d 65 6e 75 20 47 6f 0d | 65 6c 73 65 20 62 65 65 |menu Go.|else bee|
|00005d50| 70 0d 65 6e 64 20 64 6f | 46 69 6e 64 0d 0d 6f 6e |p.end do|Find..on|
|00005d60| 20 66 69 6e 64 41 67 61 | 69 6e 0d 67 6c 6f 62 61 | findAga|in.globa|
|00005d70| 6c 20 66 69 6e 64 4d 73 | 67 0d 73 65 74 20 74 68 |l findMs|g.set th|
|00005d80| 65 20 64 6f 6e 74 53 65 | 61 72 63 68 20 6f 66 20 |e dontSe|arch of |
|00005d90| 74 68 69 73 20 63 61 72 | 64 20 74 6f 20 74 72 75 |this car|d to tru|
|00005da0| 65 0d 73 65 6e 64 20 66 | 69 6e 64 4d 73 67 20 74 |e.send f|indMsg t|
|00005db0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 69 66 20 74 |o HyperC|ard.if t|
|00005dc0| 68 65 20 72 65 73 75 6c | 74 20 ad 20 22 22 20 74 |he resul|t . "" t|
|00005dd0| 68 65 6e 20 62 65 65 70 | 0d 65 6e 64 20 66 69 6e |hen beep|.end fin|
|00005de0| 64 41 67 61 69 6e 0d 0d | 6f 6e 20 64 6f 46 69 72 |dAgain..|on doFir|
|00005df0| 73 74 46 69 6e 64 0d 73 | 65 74 46 69 6e 64 53 74 |stFind.s|etFindSt|
|00005e00| 72 69 6e 67 0d 65 6e 64 | 20 64 6f 46 69 72 73 74 |ring.end| doFirst|
|00005e10| 46 69 6e 64 0d 0d 6f 6e | 20 65 78 70 6f 72 74 57 |Find..on| exportW|
|00005e20| 61 72 6e 0d 62 65 65 70 | 0d 73 64 41 6c 65 72 74 |arn.beep|.sdAlert|
|00005e30| 20 22 50 6c 65 61 73 65 | 20 73 65 6c 65 63 74 20 | "Please| select |
|00005e40| 61 6e 20 65 78 70 6f 72 | 74 20 66 69 6c 65 20 66 |an expor|t file f|
|00005e50| 6f 72 6d 61 74 2e 22 0d | 65 78 70 6f 72 74 46 6f |ormat.".|exportFo|
|00005e60| 72 6d 61 74 0d 65 6e 64 | 20 65 78 70 6f 72 74 57 |rmat.end| exportW|
|00005e70| 61 72 6e 0d 0d 6f 6e 20 | 61 72 72 6f 77 4b 65 79 |arn..on |arrowKey|
|00005e80| 20 78 0d 69 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e | x.if th|e comman|
|00005e90| 64 4b 65 79 20 3d 20 64 | 6f 77 6e 20 74 68 65 6e |dKey = d|own then|
|00005ea0| 20 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 6d | put tru|e into m|
|00005eb0| 6f 64 4b 65 79 0d 65 6c | 73 65 20 70 75 74 20 66 |odKey.el|se put f|
|00005ec0| 61 6c 73 65 20 69 6e 74 | 6f 20 6d 6f 64 4b 65 79 |alse int|o modKey|
|00005ed0| 0d 69 66 20 78 20 3d 20 | 6c 65 66 74 20 61 6e 64 |.if x = |left and|
|00005ee0| 20 6e 6f 74 20 6d 6f 64 | 4b 65 79 20 74 68 65 6e | not mod|Key then|
|00005ef0| 0d 67 6f 20 70 72 65 76 | 20 63 64 20 6f 66 20 74 |.go prev| cd of t|
|00005f00| 68 69 73 20 62 67 0d 65 | 78 69 74 20 61 72 72 6f |his bg.e|xit arro|
|00005f10| 77 4b 65 79 0d 65 6c 73 | 65 20 69 66 20 78 20 3d |wKey.els|e if x =|
|00005f20| 20 72 69 67 68 74 20 61 | 6e 64 20 6e 6f 74 20 6d | right a|nd not m|
|00005f30| 6f 64 4b 65 79 20 74 68 | 65 6e 0d 67 6f 20 6e 65 |odKey th|en.go ne|
|00005f40| 78 74 20 63 64 20 6f 66 | 20 74 68 69 73 20 62 67 |xt cd of| this bg|
|00005f50| 0d 65 78 69 74 20 61 72 | 72 6f 77 4b 65 79 0d 65 |.exit ar|rowKey.e|
|00005f60| 6c 73 65 20 69 66 20 78 | 20 3d 20 64 6f 77 6e 20 |lse if x| = down |
|00005f70| 61 6e 64 20 6e 6f 74 20 | 6d 6f 64 4b 65 79 20 74 |and not |modKey t|
|00005f80| 68 65 6e 0d 67 6f 20 6c | 61 73 74 20 63 64 20 6f |hen.go l|ast cd o|
|00005f90| 66 20 74 68 69 73 20 62 | 67 0d 65 78 69 74 20 61 |f this b|g.exit a|
|00005fa0| 72 72 6f 77 4b 65 79 0d | 65 6c 73 65 20 69 66 20 |rrowKey.|else if |
|00005fb0| 78 20 3d 20 75 70 20 61 | 6e 64 20 6e 6f 74 20 6d |x = up a|nd not m|
|00005fc0| 6f 64 4b 65 79 20 74 68 | 65 6e 0d 67 6f 20 66 69 |odKey th|en.go fi|
|00005fd0| 72 73 74 20 63 64 20 6f | 66 20 74 68 69 73 20 62 |rst cd o|f this b|
|00005fe0| 67 0d 65 78 69 74 20 61 | 72 72 6f 77 4b 65 79 0d |g.exit a|rrowKey.|
|00005ff0| 65 6c 73 65 20 70 61 73 | 73 20 61 72 72 6f 77 4b |else pas|s arrowK|
|00006000| 65 79 0d 65 6e 64 20 61 | 72 72 6f 77 4b 65 79 0d |ey.end a|rrowKey.|
|00006010| 0d 66 75 6e 63 74 69 6f | 6e 20 74 6b 4e 61 76 4c |.functio|n tkNavL|
|00006020| 6f 63 0d 67 6c 6f 62 61 | 6c 20 74 6b 50 72 65 66 |oc.globa|l tkPref|
|00006030| 73 0d 69 66 20 6c 69 6e | 65 20 32 33 20 6f 66 20 |s.if lin|e 23 of |
|00006040| 74 6b 50 72 65 66 73 20 | ad 20 22 22 20 74 68 65 |tkPrefs |. "" the|
|00006050| 6e 20 72 65 74 75 72 6e | 20 6c 69 6e 65 20 32 33 |n return| line 23|
|00006060| 20 6f 66 20 74 6b 50 72 | 65 66 73 0d 65 6c 73 65 | of tkPr|efs.else|
|00006070| 20 72 65 74 75 72 6e 20 | 22 31 32 37 2c 33 30 35 | return |"127,305|
|00006080| 22 0d 65 6e 64 20 74 6b | 4e 61 76 4c 6f 63 0d 0d |".end tk|NavLoc..|
|00006090| 6f 6e 20 67 6f 54 6f 44 | 61 69 6c 79 4c 6f 67 0d |on goToD|ailyLog.|
|000060a0| 67 6c 6f 62 61 6c 20 62 | 61 74 63 68 4d 6f 64 65 |global b|atchMode|
|000060b0| 2c 63 6f 70 79 4d 6f 64 | 65 2c 70 61 73 74 65 4d |,copyMod|e,pasteM|
|000060c0| 6f 64 65 0d 69 66 20 62 | 61 74 63 68 4d 6f 64 65 |ode.if b|atchMode|
|000060d0| 20 3d 20 74 72 75 65 20 | 6f 72 20 70 61 73 74 65 | = true |or paste|
|000060e0| 4d 6f 64 65 20 3d 20 74 | 72 75 65 20 6f 72 20 63 |Mode = t|rue or c|
|000060f0| 6f 70 79 4d 6f 64 65 20 | 3d 20 74 72 75 65 0d 74 |opyMode |= true.t|
|00006100| 68 65 6e 0d 62 65 65 70 | 0d 65 78 69 74 20 67 6f |hen.beep|.exit go|
|00006110| 54 6f 44 61 69 6c 79 4c | 6f 67 0d 65 6e 64 20 69 |ToDailyL|og.end i|
|00006120| 66 0d 67 6f 20 63 64 20 | 31 0d 65 6e 64 20 67 6f |f.go cd |1.end go|
|00006130| 54 6f 44 61 69 6c 79 4c | 6f 67 0d 0d 6f 6e 20 67 |ToDailyL|og..on g|
|00006140| 6f 54 6f 4a 6f 62 53 68 | 65 65 74 73 0d 67 6c 6f |oToJobSh|eets.glo|
|00006150| 62 61 6c 20 62 61 74 63 | 68 4d 6f 64 65 2c 63 6f |bal batc|hMode,co|
|00006160| 70 79 4d 6f 64 65 2c 70 | 61 73 74 65 4d 6f 64 65 |pyMode,p|asteMode|
|00006170| 0d 69 66 20 62 61 74 63 | 68 4d 6f 64 65 20 3d 20 |.if batc|hMode = |
|00006180| 74 72 75 65 20 6f 72 20 | 70 61 73 74 65 4d 6f 64 |true or |pasteMod|
|00006190| 65 20 3d 20 74 72 75 65 | 20 6f 72 20 63 6f 70 79 |e = true| or copy|
|000061a0| 4d 6f 64 65 20 3d 20 74 | 72 75 65 0d 74 68 65 6e |Mode = t|rue.then|
|000061b0| 0d 62 65 65 70 0d 65 78 | 69 74 20 67 6f 54 6f 4a |.beep.ex|it goToJ|
|000061c0| 6f 62 53 68 65 65 74 73 | 0d 65 6e 64 20 69 66 0d |obSheets|.end if.|
|000061d0| 67 6f 20 6c 61 73 74 20 | 63 64 20 6f 66 20 62 67 |go last |cd of bg|
|000061e0| 20 69 64 20 35 34 34 39 | 0d 65 6e 64 20 67 6f 54 | id 5449|.end goT|
|000061f0| 6f 4a 6f 62 53 68 65 65 | 74 73 0d 0d 6f 6e 20 67 |oJobShee|ts..on g|
|00006200| 6f 54 6f 54 69 6d 65 53 | 68 65 65 74 73 0d 67 6c |oToTimeS|heets.gl|
|00006210| 6f 62 61 6c 20 62 61 74 | 63 68 4d 6f 64 65 2c 63 |obal bat|chMode,c|
|00006220| 6f 70 79 4d 6f 64 65 2c | 70 61 73 74 65 4d 6f 64 |opyMode,|pasteMod|
|00006230| 65 0d 69 66 20 62 61 74 | 63 68 4d 6f 64 65 20 3d |e.if bat|chMode =|
|00006240| 20 74 72 75 65 20 6f 72 | 20 70 61 73 74 65 4d 6f | true or| pasteMo|
|00006250| 64 65 20 3d 20 74 72 75 | 65 20 6f 72 20 63 6f 70 |de = tru|e or cop|
|00006260| 79 4d 6f 64 65 20 3d 20 | 74 72 75 65 0d 74 68 65 |yMode = |true.the|
|00006270| 6e 0d 62 65 65 70 0d 65 | 78 69 74 20 67 6f 54 6f |n.beep.e|xit goTo|
|00006280| 54 69 6d 65 53 68 65 65 | 74 73 0d 65 6e 64 20 69 |TimeShee|ts.end i|
|00006290| 66 0d 67 6f 20 6c 61 73 | 74 20 63 64 0d 65 6e 64 |f.go las|t cd.end|
|000062a0| 20 67 6f 54 6f 54 69 6d | 65 53 68 65 65 74 73 0d | goToTim|eSheets.|
|000062b0| 0d 6f 6e 20 67 6f 74 6f | 41 72 63 68 69 76 65 0d |.on goto|Archive.|
|000062c0| 67 6c 6f 62 61 6c 20 62 | 61 74 63 68 4d 6f 64 65 |global b|atchMode|
|000062d0| 2c 63 6f 70 79 4d 6f 64 | 65 2c 70 61 73 74 65 4d |,copyMod|e,pasteM|
|000062e0| 6f 64 65 0d 69 66 20 62 | 61 74 63 68 4d 6f 64 65 |ode.if b|atchMode|
|000062f0| 20 3d 20 74 72 75 65 20 | 6f 72 20 70 61 73 74 65 | = true |or paste|
|00006300| 4d 6f 64 65 20 3d 20 74 | 72 75 65 20 6f 72 20 63 |Mode = t|rue or c|
|00006310| 6f 70 79 4d 6f 64 65 20 | 3d 20 74 72 75 65 0d 74 |opyMode |= true.t|
|00006320| 68 65 6e 0d 62 65 65 70 | 0d 65 78 69 74 20 67 6f |hen.beep|.exit go|
|00006330| 74 6f 41 72 63 68 69 76 | 65 0d 65 6e 64 20 69 66 |toArchiv|e.end if|
|00006340| 0d 67 6f 20 6c 61 73 74 | 20 63 64 20 6f 66 20 62 |.go last| cd of b|
|00006350| 67 20 69 64 20 34 37 31 | 37 0d 65 6e 64 20 67 6f |g id 471|7.end go|
|00006360| 54 6f 41 72 63 68 69 76 | 65 0d 0d 6f 6e 20 68 69 |ToArchiv|e..on hi|
|00006370| 64 65 54 4b 4e 61 76 0d | 67 6c 6f 62 61 6c 20 74 |deTKNav.|global t|
|00006380| 6b 50 72 65 66 73 0d 69 | 66 20 74 68 65 72 65 20 |kPrefs.i|f there |
|00006390| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 73 65 63 |is a win|dow "sec|
|000063a0| 74 4e 61 76 22 20 74 68 | 65 6e 20 63 6c 6f 73 65 |tNav" th|en close|
|000063b0| 20 77 69 6e 64 6f 77 20 | 22 73 65 63 74 4e 61 76 | window |"sectNav|
|000063c0| 22 0d 70 75 74 20 22 53 | 68 6f 77 20 4e 61 76 69 |".put "S|how Navi|
|000063d0| 67 61 74 6f 72 22 20 69 | 6e 74 6f 20 6d 65 6e 75 |gator" i|nto menu|
|000063e0| 49 74 65 6d 20 31 32 20 | 6f 66 20 6d 65 6e 75 20 |Item 12 |of menu |
|000063f0| 47 6f 0d 70 75 74 20 22 | 53 68 6f 77 22 20 69 6e |Go.put "|Show" in|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.